Skip to content

Commit

Permalink
fix: wasm build
Browse files Browse the repository at this point in the history
  • Loading branch information
gluax committed Jun 5, 2024
1 parent 4c2aa7d commit 7ad013c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/Basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ jobs:
run: git diff --exit-code schema

- name: 🦾 Compile WASM contract
run: cargo wasm --locked
env:
RUSTFLAGS: "-C link-arg=-s"
run: cargo wasm


fmt:
Expand Down
2 changes: 1 addition & 1 deletion xtask/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fn print_help() -> Result<()> {
fn wasm(sh: &Shell) -> Result<()> {
cmd!(
sh,
"cargo build --release --lib --target wasm32-unknown-unknown --locked"
"cargo build -p seda-contract --release --lib --target wasm32-unknown-unknown --locked"
)
.env("RUSTFLAGS", "-C link-arg=-s")
.run()?;
Expand Down

0 comments on commit 7ad013c

Please sign in to comment.