summaryrefslogtreecommitdiff
path: root/deno2
diff options
context:
space:
mode:
Diffstat (limited to 'deno2')
-rw-r--r--deno2/BUILD.gn2
l---------deno2/buildtools1
-rw-r--r--deno2/file_util.cc4
3 files changed, 4 insertions, 3 deletions
diff --git a/deno2/BUILD.gn b/deno2/BUILD.gn
index 379270271..e52e88eea 100644
--- a/deno2/BUILD.gn
+++ b/deno2/BUILD.gn
@@ -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",
diff --git a/deno2/buildtools b/deno2/buildtools
new file mode 120000
index 000000000..c5b1c451c
--- /dev/null
+++ b/deno2/buildtools
@@ -0,0 +1 @@
+v8/buildtools \ No newline at end of file
diff --git a/deno2/file_util.cc b/deno2/file_util.cc
index ece14e9b1..c78d3e227 100644
--- a/deno2/file_util.cc
+++ b/deno2/file_util.cc
@@ -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_);