Skip to content

Commit

Permalink
Merge remote-tracking branch 'namada/james/mainline/fix-wasm-make-tar…
Browse files Browse the repository at this point in the history
…gets' (#720) into main

* namada/james/mainline/fix-wasm-make-targets:
  changelog: add #720
  fix: rename correctly in debug wasm build
  • Loading branch information
juped committed Nov 1, 2022
2 parents 6cbce4a + c3db469 commit 21f5ac7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .changelog/unreleased/bug-fixes/720-fix-wasm-make-targets.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix `make debug-wasm-scripts`, which attempted an incorrect rename.
([#720](https://github.com/anoma/namada/pull/720))
2 changes: 1 addition & 1 deletion wasm/wasm_source/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ $(wasms): %:
# Build a selected wasm in debug mode
$(patsubst %,debug_%,$(wasms)): debug_%:
RUSTFLAGS='-C link-arg=-s' $(cargo) build --target wasm32-unknown-unknown --target-dir 'target' --features $* && \
cp "../target/wasm32-unknown-unknown/debug/anoma_wasm.wasm" ../$*.wasm
cp "./target/wasm32-unknown-unknown/debug/namada_wasm.wasm" ../$*.wasm

# `cargo check` one of the wasms, e.g. `make check_tx_transfer`
$(patsubst %,check_%,$(wasms)): check_%:
Expand Down

0 comments on commit 21f5ac7

Please sign in to comment.