File tree Expand file tree Collapse file tree 2 files changed +34
-5
lines changed
Expand file tree Collapse file tree 2 files changed +34
-5
lines changed Original file line number Diff line number Diff line change 11# 1. Disable pointer compression (limits the maximum number of WasmVMs).
22# 2. Don't expose Wasm C API (only Wasm C++ API).
3+ # 3. Fix linking on Linux (needed only for branch-heads/10.0).
34
45diff --git a/BUILD.bazel b/BUILD.bazel
56index 5fb10d3940..a19930d36e 100644
@@ -33,3 +34,31 @@ index ce3f569fd5..dc8a4c4f6a 100644
3334 } // extern "C"
3435+
3536+ #endif
37+ diff --git a/bazel/defs.bzl b/bazel/defs.bzl
38+ index dee5e69cc4..070fadb969 100644
39+ --- a/bazel/defs.bzl
40+ +++ b/bazel/defs.bzl
41+ @@ -159,8 +159,21 @@ def _default_args():
42+ "DbgHelp.lib",
43+ "Advapi32.lib",
44+ ],
45+ - "@v8//bazel/config:is_macos": ["-pthread"],
46+ - "//conditions:default": ["-Wl,--no-as-needed -ldl -pthread"],
47+ + "@v8//bazel/config:is_macos": [
48+ + "-pthread",
49+ + ],
50+ + "@v8//bazel/config:is_android": [
51+ + "-Wl,--no-as-needed",
52+ + "-ldl",
53+ + "-pthread",
54+ + ],
55+ + "@v8//bazel/config:is_linux": [
56+ + "-Wl,--no-as-needed",
57+ + "-ldl",
58+ + "-lrt",
59+ + "-pthread",
60+ + ],
61+ + "//conditions:default": [],
62+ }) + select({
63+ ":should_add_rdynamic": ["-rdynamic"],
64+ "//conditions:default": [],
Original file line number Diff line number Diff line change @@ -118,10 +118,10 @@ def proxy_wasm_cpp_host_repositories():
118118 maybe (
119119 git_repository ,
120120 name = "v8" ,
121- # 10.0.101
122- commit = "a3377e2234a32e1a67a620a180415b40f3dadb80 " ,
121+ # 10.0.139.6
122+ commit = "1e242a567b609aa18ce46f7b04cc51fd85756b67 " ,
123123 remote = "https://chromium.googlesource.com/v8/v8" ,
124- shallow_since = "1644336206 +0000" ,
124+ shallow_since = "1646671271 +0000" ,
125125 patches = ["@proxy_wasm_cpp_host//bazel/external:v8.patch" ],
126126 patch_args = ["-p1" ],
127127 )
@@ -149,9 +149,9 @@ def proxy_wasm_cpp_host_repositories():
149149 new_git_repository ,
150150 name = "com_googlesource_chromium_zlib" ,
151151 build_file = "@v8//:bazel/BUILD.zlib" ,
152- commit = "3fc79233fe8ff5cf39fec4c8b8a46272d4f11cec " ,
152+ commit = "9538f4194f6e5eff1bd59f2396ed9d05b1a8d801 " ,
153153 remote = "https://chromium.googlesource.com/chromium/src/third_party/zlib.git" ,
154- shallow_since = "1644209500 -0800" ,
154+ shallow_since = "1644963419 -0800" ,
155155 )
156156
157157 native .bind (
You can’t perform that action at this time.
0 commit comments