symcheck: Enable wasm by default

The build time isn't very different so we can keep things simpler.
This commit is contained in:
Trevor Gross 2026-02-07 05:04:20 -06:00
parent 4d24b508bb
commit 6733cf42a6
2 changed files with 1 additions and 5 deletions

View file

@ -47,7 +47,6 @@ fi
# `compiler-builtins` is built with various features. Symcheck invokes Cargo to
# build with the arguments we provide it, then validates the built artifacts.
symcheck=(cargo run -p symbol-check --release)
[[ "$target" = "wasm"* ]] && symcheck+=(--features wasm)
symcheck+=(-- build-and-check)
"${symcheck[@]}" "$target" -- -p compiler_builtins

View file

@ -5,8 +5,5 @@ edition = "2024"
publish = false
[dependencies]
object = "0.37.3"
object = { version = "0.37.3", features = ["wasm"] }
serde_json = "1.0.149"
[features]
wasm = ["object/wasm"]