
Undefined symbols will be shown by the embedder, for example when running generated wasm files in a browser. In the future, this should probably become a fixed list again. But for experimenting it's easier now to just ignore undefined symbols and expect the JS to provide them.
10 строки
209 Б
JSON
10 строки
209 Б
JSON
{
|
|
"llvm-target": "wasm32-unknown-unknown-wasm",
|
|
"build-tags": ["js", "wasm"],
|
|
"linker": "ld.lld-7",
|
|
"pre-link-args": [
|
|
"-flavor", "wasm",
|
|
"-allow-undefined"
|
|
],
|
|
"emulator": ["cwa"]
|
|
}
|