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 时需要考虑的主要集成点,以及一般的编码和调试指南。