mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-16 18:53:29 +00:00
wasm: allow all undefined symbols
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.
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
"linker": "ld.lld-7",
|
"linker": "ld.lld-7",
|
||||||
"pre-link-args": [
|
"pre-link-args": [
|
||||||
"-flavor", "wasm",
|
"-flavor", "wasm",
|
||||||
"-allow-undefined-file", "targets/wasm.syms"
|
"-allow-undefined"
|
||||||
],
|
],
|
||||||
"emulator": ["cwa"]
|
"emulator": ["cwa"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
io_get_stdout
|
|
||||||
resource_write
|
|
||||||
Reference in New Issue
Block a user