소스 검색

TODO for if __heap_base not found

rexim 3 년 전
부모
커밋
2721aaab18
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      js/vc.js

+ 1 - 0
js/vc.js

@@ -51,6 +51,7 @@ async function startDemo(elementId, wasmPath) {
         "env": make_environment(libm)
     });
 
+    // TODO: if __heap_base not found tell the user to compile their wasm module with -Wl,--export=__heap_base
     const heap_base = w.instance.exports.__heap_base.value;
 
     let prev = null;