We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steps to reproduce by slightly altering the example of https://docs.deno.com/runtime/manual/runtime/webassembly/using_streaming_wasm
curl https://wpt.live/wasm/incrementer.wasm -o incrementer.wasm
const { instance, module } = await WebAssembly.instantiateStreaming( fetch(new URL("./incrementer.wasm", import.meta.url)), ); const increment = instance.exports.increment as (input: number) => number; console.log(increment(41));
deno run --inspect-brk --allow-read ./index.ts
chrome:https://inspect
Expected output
42
Actual output
error: Uncaught (in promise) TypeError: WebAssembly.compile(): Argument 0 must be a buffer source at eventLoopTick (ext:core/01_core.js:178:11)
Also tested with VSCode debugger
The text was updated successfully, but these errors were encountered:
Any news on this? I am getting the same trying to use @deno/graph wasm in a solution.
Sorry, something went wrong.
related denoland/vscode_deno#708
No branches or pull requests
Steps to reproduce by slightly altering the example of https://docs.deno.com/runtime/manual/runtime/webassembly/using_streaming_wasm
curl https://wpt.live/wasm/incrementer.wasm -o incrementer.wasm
to get the wasm filedeno run --inspect-brk --allow-read ./index.ts
chrome:https://inspect
to connect to the debugger and execute the programExpected output
42
on the consoleActual output
Also tested with VSCode debugger
The text was updated successfully, but these errors were encountered: