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
現在您知道 Emscripten 為何 適合您,是時候開始使用了。
本節提供 下載和安裝 SDK 的逐步說明,以及 使用 Emscripten 工具鏈 的基本知識。一般的 常見問題 回答了許多關於設定和使用 Emscripten 的常見問題。
我們也說明了在工具鏈和網站中應該在何處 回報錯誤。Emscripten 測試套件 是尋找如何使用 Emscripten 範例的好資源。