machine type must be wasm32
unknown file type
{"text":"asm"}
atexit()s
-O2 --closure 1
TypeError: Module.someThing is not a function
Runtime
Runtime.someThing
-s
NameError
a problem occurred in evaluating content after a "-s"
file=..
f'..'
SyntaxError: invalid syntax
RangeError: Maximum call stack size exceeded
.wasm
dlopen()
val
ASYNCIFY_IMPORTS
ccall
malloc
free
SAFE_HEAP
本節的主題涵蓋了將 C/C++ 程式碼移植到 Emscripten 時需要考慮的主要整合點,以及一般編碼和除錯指南。