@@ -17,6 +17,42 @@ index 3f5a87d054e..0a693b7ee10 100644
17
17
)
18
18
19
19
# Default setting for v8_enable_pointer_compression.
20
+ diff --git a/bazel/defs.bzl b/bazel/defs.bzl
21
+ index 0539ea176ac..14d7ace5e59 100644
22
+ --- a/bazel/defs.bzl
23
+ +++ b/bazel/defs.bzl
24
+ @@ -485,6 +485,9 @@ _v8_mksnapshot = rule(
25
+ cfg = "exec",
26
+ ),
27
+ "target_os": attr.string(mandatory = True),
28
+ + "_allowlist_function_transition": attr.label(
29
+ + default = "@bazel_tools//tools/allowlists/function_transition_allowlist",
30
+ + ),
31
+ "prefix": attr.string(mandatory = True),
32
+ "suffix": attr.string(mandatory = True),
33
+ },
34
+ diff --git a/bazel/v8-non-pointer-compression.bzl b/bazel/v8-non-pointer-compression.bzl
35
+ index 8c929454840..57336154cf7 100644
36
+ --- a/bazel/v8-non-pointer-compression.bzl
37
+ +++ b/bazel/v8-non-pointer-compression.bzl
38
+ @@ -47,6 +47,17 @@ v8_binary_non_pointer_compression = rule(
39
+ # Note specificaly how it's configured with v8_target_cpu_transition, which
40
+ # ensures that setting propagates down the graph.
41
+ "binary": attr.label(cfg = v8_disable_pointer_compression),
42
+ + # This is a stock Bazel requirement for any rule that uses Starlark
43
+ + # transitions. It's okay to copy the below verbatim for all such rules.
44
+ + #
45
+ + # The purpose of this requirement is to give the ability to restrict
46
+ + # which packages can invoke these rules, since Starlark transitions
47
+ + # make much larger graphs possible that can have memory and performance
48
+ + # consequences for your build. The whitelist defaults to "everything".
49
+ + # But you can redefine it more strictly if you feel that's prudent.
50
+ + "_allowlist_function_transition": attr.label(
51
+ + default = "@bazel_tools//tools/allowlists/function_transition_allowlist",
52
+ + ),
53
+ },
54
+ # Making this executable means it works with "$ bazel run".
55
+ executable = True,
20
56
diff --git a/src/wasm/c-api.cc b/src/wasm/c-api.cc
21
57
index 05e4029f183..d705be96a16 100644
22
58
--- a/src/wasm/c-api.cc
0 commit comments