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.
Этот коммит содержится в:
Ayke van Laethem 2018-10-30 15:56:23 +01:00
родитель a459570d94
коммит b09b07a52d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: E97FF5335DFDFDED
2 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -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