fix(xtask): make building the wasm stdlib work again
Co-authored-by: Will Lillis <will.lillis24@gmail.com>
(cherry picked from commit b863b16454)
This commit is contained in:
parent
20dad25cce
commit
e29a5ee82e
1 changed files with 2 additions and 0 deletions
|
|
@ -223,6 +223,7 @@ pub fn run_wasm_stdlib() -> Result<()> {
|
|||
"stdlib.wasm",
|
||||
"-Os",
|
||||
"-fPIC",
|
||||
"-DTREE_SITTER_FEATURE_WASM",
|
||||
"-Wl,--no-entry",
|
||||
"-Wl,--stack-first",
|
||||
"-Wl,-z",
|
||||
|
|
@ -234,6 +235,7 @@ pub fn run_wasm_stdlib() -> Result<()> {
|
|||
"-Wl,--export=reset_heap",
|
||||
"-Wl,--export=__wasm_call_ctors",
|
||||
"-Wl,--export=__stack_pointer",
|
||||
"-Wl,--export=reset_heap",
|
||||
])
|
||||
.args(export_flags)
|
||||
.arg("lib/src/wasm/stdlib.c")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue