mirror of
https://github.com/denoland/deno.git
synced 2024-12-21 06:44:45 -05:00
8be2bbf074
Support for Wasm modules. Note this implements the standard where the default export is the instance (not the module). The module will come later with source phase imports. ```ts import { add } from "./math.wasm"; console.log(add(1, 2)); ```
21 lines
506 B
Text
21 lines
506 B
Text
Download http://localhost:4545/wasm/math.wasm
|
|
Defined in http://localhost:4545/wasm/math.wasm:2:1
|
|
|
|
function add(arg0: number, arg1: number): number
|
|
|
|
Defined in http://localhost:4545/wasm/math.wasm:3:1
|
|
|
|
function subtract(arg0: number, arg1: number): number
|
|
|
|
Defined in http://localhost:4545/wasm/math.wasm:4:22
|
|
|
|
const __data_end: number
|
|
|
|
Defined in http://localhost:4545/wasm/math.wasm:5:22
|
|
|
|
const __heap_base: number
|
|
|
|
Defined in http://localhost:4545/wasm/math.wasm:1:22
|
|
|
|
const memory: WebAssembly.Memory
|
|
|