File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
packages/npm-packages/ruby-wasm-wasi Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11import { Fd , WASI } from "@bjorn3/browser_wasi_shim" ;
2- import { RubyVM } from "./index.js" ;
3- import { consolePrinter } from "./console.js" ;
2+ import { RubyVM , consolePrinter } from "./index.js" ;
43
54export const DefaultRubyVM = async (
65 rubyModule : WebAssembly . Module ,
Original file line number Diff line number Diff line change 66 JsAbiValue ,
77} from "./bindgen/rb-js-abi-host.js" ;
88
9+ export { consolePrinter } from "./console.js" ;
10+
911/**
1012 * A Ruby VM instance
1113 *
Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ import * as browserWasi from "@bjorn3/browser_wasi_shim";
55import fs from " fs/promises" ;
66import path from " path" ;
77import * as nodeWasi from " wasi" ;
8- import { RubyVM } from " @ruby/wasm-wasi" ;
9- import { consolePrinter } from " @ruby/wasm-wasi/dist/console" ;
8+ import { RubyVM, consolePrinter } from " @ruby/wasm-wasi" ;
109
1110const deriveRubySetup = () => {
1211 let preopens = {}
You can’t perform that action at this time.
0 commit comments