summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2022-10-05 10:13:31 -0500
committerGitHub <noreply@github.com>2022-10-05 08:13:31 -0700
commitd0e92fe7ce9f8f5cb668b1b7d5360dfb47ad5b80 (patch)
treea1ea19318faf3297f49511c90d0c7ce4b615e49e /scripts
parentd9ce340fb17a24dca28e0018f5537846841368ab (diff)
downloadbinaryen-d0e92fe7ce9f8f5cb668b1b7d5360dfb47ad5b80.tar.gz
binaryen-d0e92fe7ce9f8f5cb668b1b7d5360dfb47ad5b80.tar.bz2
binaryen-d0e92fe7ce9f8f5cb668b1b7d5360dfb47ad5b80.zip
Pin v8 10.8.104 (#5112)
More recent version of V8 include a change from `dataref` to `structref` that prevent WasmGC modules produced by the fuzzer from validating. Use the last compatible v8 version if it is in the path until we can update Binaryen to be compatible with newer v8.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/test/shared.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/test/shared.py b/scripts/test/shared.py
index 2c18a053c..eac4bd99d 100644
--- a/scripts/test/shared.py
+++ b/scripts/test/shared.py
@@ -201,7 +201,10 @@ NATIVEXX = (os.environ.get('CXX') or which('mingw32-g++') or
which('g++') or which('clang++'))
NODEJS = os.getenv('NODE', which('node') or which('nodejs'))
MOZJS = which('mozjs') or which('spidermonkey')
-V8 = which('v8') or which('d8')
+
+# TODO: Remove the specific v8 version once we implement structref and can run
+# on recent v8.
+V8 = which('v8-10.8.104') or which('v8') or which('d8')
BINARYEN_INSTALL_DIR = os.path.dirname(options.binaryen_bin)
WASM_OPT = [os.path.join(options.binaryen_bin, 'wasm-opt')]