Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions bazel/external/v8.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Disable pointer compression (limits the maximum number of WasmVMs).

diff --git a/BUILD.bazel b/BUILD.bazel
index 1cc0121e60..4947c1dba2 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -161,7 +161,7 @@ v8_int(
# If no explicit value for v8_enable_pointer_compression, we set it to 'none'.
v8_string(
name = "v8_enable_pointer_compression",
- default = "none",
+ default = "False",
)

# Default setting for v8_enable_pointer_compression.
2 changes: 2 additions & 0 deletions bazel/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ def proxy_wasm_cpp_host_repositories():
commit = "90f089d97b6e4146ad106eee1829d86ad6392027",
remote = "https://chromium.googlesource.com/v8/v8",
shallow_since = "1643043727 +0000",
patches = ["@proxy_wasm_cpp_host//bazel/external:v8.patch"],
patch_args = ["-p1"],
)

native.bind(
Expand Down