mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-11-28 08:06:16 +00:00
rebuild std for the tree-sitter wasm parsers (#12566)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
e061d11826
commit
b8a24bdd5c
@@ -147,7 +147,8 @@ def main [
|
||||
"tree-sitter" => {
|
||||
$env.CFLAGS_wasm32_unknown_unknown = $"-I(pwd)/wasm-sysroot -Wbad-function-cast -Wcast-function-type -fno-builtin"
|
||||
$env.RUSTFLAGS = "-Zwasm-c-abi=spec"
|
||||
wasm-pack build ($profile) --target ($tar) --out-dir $env.OUT_DIR --features $t.features
|
||||
# The release profile's `immediate-abort` panic strategy needs std rebuilt to match.
|
||||
wasm-pack build ($profile) --target ($tar) --out-dir $env.OUT_DIR --features $t.features -Z build-std=panic_abort,std
|
||||
},
|
||||
_ => { panic $"Unknown env template: ($t.env)" },
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user