blob: 5c868bb7d7de037d2e5d5654f164f74bf3d65f30 [file] [log] [blame]
import { g } from "./entry-global.wasm"
export const globalFromJS = new WebAssembly.Global(
{ value: "i32", mutable: true },
42
);
export function incrementGlobal() {
g.value = g.value + 1;
}