titzer/v8-native-prototype

compiling an empty function fails

Closed this issue · 1 comments

binji commented

test from sexpr-wasm-prototype:

(module
  (export "f" $f)
  (func $f))

output:

+.../sexpr-wasm/test/wasm.js:8: WasmModule::Instantiate(): Compiling WASM function #0:f failed:Result = no trees created @+0
  +
  +var module = WASM.instantiateModule(buffer, ffi);
  +                  ^
  +

Fixed in 66bc3b5