mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 17:34:47 -05:00
Small fixes
* Squelch printf format warning. * Fix Linux build by symlinking buildtools to v8/buildtools. * Lint comment in BUILD.gn.
This commit is contained in:
parent
a77af25480
commit
7887469524
3 changed files with 4 additions and 3 deletions
|
@ -98,7 +98,7 @@ run_node("bundle") {
|
|||
"js/main.ts",
|
||||
"js/msg.pb.d.ts",
|
||||
"js/msg.pb.js",
|
||||
"js/package.json", # `browserslist` field controls transform.
|
||||
"js/package.json", # The `browserslist` field controls Babel behavior.
|
||||
]
|
||||
outputs = [
|
||||
out_dir + "main.js",
|
||||
|
|
1
deno2/buildtools
Symbolic link
1
deno2/buildtools
Symbolic link
|
@ -0,0 +1 @@
|
|||
v8/buildtools
|
|
@ -75,8 +75,8 @@ class StartupDataCppWriter {
|
|||
file_ << buffer;
|
||||
WriteBinaryContentsAsCArray();
|
||||
file_ << "};\n";
|
||||
snprintf(buffer, sizeof(buffer), "static const int %s_blob_size = %ld;\n",
|
||||
name_, data_.size());
|
||||
snprintf(buffer, sizeof(buffer), "static const int %s_blob_size = %llu;\n",
|
||||
name_, static_cast<unsigned long long>(data_.size()));
|
||||
file_ << buffer;
|
||||
snprintf(buffer, sizeof(buffer), "static const v8::StartupData %s_blob =\n",
|
||||
name_);
|
||||
|
|
Loading…
Add table
Reference in a new issue