fix(wasm-pack)

closes #6585
This commit is contained in:
Jacob Heider 2024-07-01 14:12:46 -04:00 committed by Jacob Heider
parent 4ef8940db3
commit 2ac5e97383

View file

@ -8,16 +8,18 @@ versions:
dependencies: dependencies:
# It needs Rust and Cargo at runtime as well (for building) # It needs Rust and Cargo at runtime as well (for building)
rust-lang.org: "*" rust-lang.org: '*'
rust-lang.org/cargo: "*" rust-lang.org/cargo: '*'
build: build:
dependencies:
cmake.org: 3
env: env:
RUSTFLAGS: RUSTFLAGS:
# Ignore warnings (to focus on errors) # Ignore warnings (to focus on errors)
- -A warnings - -A warnings
# Reduce build size by excluding debug symbols. # Reduce build size by excluding debug symbols.
- -C debuginfo=0 - -C debuginfo=0
script: | script: |
cargo install --path . --root {{prefix}} cargo install --path . --root {{prefix}}
@ -27,4 +29,4 @@ test:
test "$(wasm-pack --version)" = "wasm-pack {{version.raw}}" test "$(wasm-pack --version)" = "wasm-pack {{version.raw}}"
provides: provides:
- bin/wasm-pack - bin/wasm-pack