mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-17 11:13:27 +00:00
wasm: only export explicitly exported functions
Previously we used the --export-all linker flag to export most functions. However, this is not needed and possibly increases binary size. Instead, we should be exporting the specific functions to be exported.
This commit is contained in:
committed by
Ron Evans
parent
0db4b13e37
commit
c522569378
@@ -14,7 +14,6 @@
|
||||
"ldflags": [
|
||||
"--allow-undefined",
|
||||
"--stack-first",
|
||||
"--export-all",
|
||||
"--no-demangle"
|
||||
],
|
||||
"emulator": ["node", "targets/wasm_exec.js"],
|
||||
|
||||
Reference in New Issue
Block a user