github.com/bananabytelabs/wazero@v0.0.0-20240105073314-54b22a776da8/imports/assemblyscript/example/testdata/index.ts (about) 1 export function hello_world(arg: u32): u32 { 2 trace("hello world", 2, arg + 0.1, arg + 0.2); 3 return arg + 3; 4 } 5 6 export function goodbye_world(): void { 7 throw new Error("sad sad world"); 8 }