File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/npm-packages/ruby-wasm-wasi Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const rubyModule = (async () => {
8
8
if ( process . env . RUBY_ROOT ) {
9
9
binaryPath = path . join ( process . env . RUBY_ROOT , "./usr/local/bin/ruby" ) ;
10
10
} else {
11
- binaryPath = path . join ( __dirname , "./../dist/ruby+stdlib.wasm" ) ;
11
+ binaryPath = path . join ( __dirname , "./../dist/ruby.debug +stdlib.wasm" ) ;
12
12
}
13
13
const binary = await fs . readFile ( binaryPath ) ;
14
14
return await WebAssembly . compile ( binary . buffer ) ;
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const instantiateNodeWasi = async (rootTestFile) => {
17
17
binaryPath = path.join(process.env.RUBY_ROOT, " ./usr/local/bin/ruby" );
18
18
preopens[" /usr" ] = path.join(process.env.RUBY_ROOT, " ./usr" );
19
19
} else {
20
- binaryPath = path.join(dirname, " ../dist/ruby+stdlib.wasm" );
20
+ binaryPath = path.join(dirname, " ../dist/ruby.debug +stdlib.wasm" );
21
21
}
22
22
const binary = await fs.readFile(binaryPath);
23
23
const rubyModule = await WebAssembly.compile(binary);
You can’t perform that action at this time.
0 commit comments