Skip to content

Commit

Permalink
contracts: build for wasm64-unknown-unknown
Browse files Browse the repository at this point in the history
Resolves: #280
  • Loading branch information
Eduardo Leegwater Simões committed Oct 24, 2023
1 parent c787212 commit d6a4847
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ contracts: setup-compiler ## Build example contracts
--manifest-path=contracts/Cargo.toml \
--color=always \
-Z build-std=core,alloc \
--target wasm32-unknown-unknown
--target wasm64-unknown-unknown
@contracts/c-example/build.sh
@mkdir -p target/stripped
@find target/wasm32-unknown-unknown/release -maxdepth 1 -name "*.wasm" \
@find target/wasm64-unknown-unknown/release -maxdepth 1 -name "*.wasm" \
| xargs -I % basename % \
| xargs -I % wasm-tools strip -a \
target/wasm32-unknown-unknown/release/% \
target/wasm64-unknown-unknown/release/% \
-o target/stripped/%

test: contracts cold-reboot assert-counter-contract-small ## Run all tests
Expand Down

0 comments on commit d6a4847

Please sign in to comment.