Skip to content

Commit

Permalink
--experimental-wasi-unstable-preview1
Browse files Browse the repository at this point in the history
  • Loading branch information
toyobayashi committed Jun 7, 2024
1 parent b1f03fc commit d61136d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jobs:
run: |
Start-BitsTransfer -Source https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${env:WASI_VERSION}/wasi-sdk-${env:WASI_VERSION_FULL}.m-mingw.tar.gz
New-Item -ItemType Directory -Path ${env:WASI_SDK_PATH}
tar -xzf wasi-sdk-${env:WASI_VERSION_FULL}.m-mingw.tar.gz -C $WASI_SDK_PATH --strip 1
tar -zxvf wasi-sdk-${env:WASI_VERSION_FULL}.m-mingw.tar.gz -C $WASI_SDK_PATH
- name: Install Dependencies
run: |
npm install
Expand Down
2 changes: 1 addition & 1 deletion test/test-addon.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function runHello (hostProcess = process.execPath) {

function runWasm (hostProcess = process.execPath) {
const testCode = "console.log(require('hello_wasm').hello())"
return execFileSync(hostProcess, ['-e', testCode], { cwd: __dirname })
return execFileSync(hostProcess, ['--experimental-wasi-unstable-preview1', '-e', testCode], { cwd: __dirname })
}

function executable (name) {
Expand Down

0 comments on commit d61136d

Please sign in to comment.