diff options
author | cjihrig <cjihrig@gmail.com> | 2020-07-23 02:51:24 +0300 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2020-10-18 21:17:43 +0300 |
commit | ca8f3ef2e550dba41ec8e08e53bc51680623f743 (patch) | |
tree | 0367b5601bd0b987c9f67a56618bc6fb73c4886f | |
parent | 94dd7b9f94fd151195820e961de997a0ad7ca40a (diff) |
wasi: drop --experimental-wasm-bigint requirement
After the V8 8.5 update, the WASI APIs no longer require the
use of --experimental-wasm-bigint. This commit removes its use.
PR-URL: https://github.com/nodejs/node/pull/35415
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
-rw-r--r-- | doc/api/wasi.md | 4 | ||||
-rw-r--r-- | test/wasi/test-return-on-exit.js | 2 | ||||
-rw-r--r-- | test/wasi/test-wasi-not-started.js | 1 | ||||
-rw-r--r-- | test/wasi/test-wasi-stdio.js | 2 | ||||
-rw-r--r-- | test/wasi/test-wasi-symlinks.js | 1 | ||||
-rw-r--r-- | test/wasi/test-wasi.js | 1 |
6 files changed, 4 insertions, 7 deletions
diff --git a/doc/api/wasi.md b/doc/api/wasi.md index decb9641e16..5430ae63d50 100644 --- a/doc/api/wasi.md +++ b/doc/api/wasi.md @@ -70,8 +70,8 @@ Use [wabt](https://github.com/WebAssembly/wabt) to compile `.wat` to `.wasm` $ wat2wasm demo.wat ``` -The `--experimental-wasi-unstable-preview1` and `--experimental-wasm-bigint` -CLI arguments are needed for this example to run. +The `--experimental-wasi-unstable-preview1` CLI argument is needed for this +example to run. ## Class: `WASI` <!-- YAML diff --git a/test/wasi/test-return-on-exit.js b/test/wasi/test-return-on-exit.js index 3f5d40c9ba7..362d13b490a 100644 --- a/test/wasi/test-return-on-exit.js +++ b/test/wasi/test-return-on-exit.js @@ -1,4 +1,4 @@ -// Flags: --experimental-wasi-unstable-preview1 --experimental-wasm-bigint +// Flags: --experimental-wasi-unstable-preview1 'use strict'; const common = require('../common'); const assert = require('assert'); diff --git a/test/wasi/test-wasi-not-started.js b/test/wasi/test-wasi-not-started.js index ad13e6d7118..14c8cdfddf2 100644 --- a/test/wasi/test-wasi-not-started.js +++ b/test/wasi/test-wasi-not-started.js @@ -29,7 +29,6 @@ if (process.argv[2] === 'wasi-child') { const child = cp.spawnSync(process.execPath, [ '--experimental-wasi-unstable-preview1', - '--experimental-wasm-bigint', __filename, 'wasi-child' ], { diff --git a/test/wasi/test-wasi-stdio.js b/test/wasi/test-wasi-stdio.js index d49fa67ce75..90ab7caa831 100644 --- a/test/wasi/test-wasi-stdio.js +++ b/test/wasi/test-wasi-stdio.js @@ -1,4 +1,4 @@ -// Flags: --experimental-wasi-unstable-preview1 --experimental-wasm-bigint +// Flags: --experimental-wasi-unstable-preview1 'use strict'; const common = require('../common'); const tmpdir = require('../common/tmpdir'); diff --git a/test/wasi/test-wasi-symlinks.js b/test/wasi/test-wasi-symlinks.js index b4f306916a9..f10bcd01fe4 100644 --- a/test/wasi/test-wasi-symlinks.js +++ b/test/wasi/test-wasi-symlinks.js @@ -62,7 +62,6 @@ if (process.argv[2] === 'wasi-child') { const opts = { env: { ...process.env, NODE_DEBUG_NATIVE: 'wasi' } }; const child = cp.spawnSync(process.execPath, [ '--experimental-wasi-unstable-preview1', - '--experimental-wasm-bigint', __filename, 'wasi-child', options.test, diff --git a/test/wasi/test-wasi.js b/test/wasi/test-wasi.js index 083cf1b17b7..261d7928eca 100644 --- a/test/wasi/test-wasi.js +++ b/test/wasi/test-wasi.js @@ -51,7 +51,6 @@ if (process.argv[2] === 'wasi-child') { const child = cp.spawnSync(process.execPath, [ '--experimental-wasi-unstable-preview1', - '--experimental-wasm-bigint', __filename, 'wasi-child', options.test |