From d6a48471c27ffdc5013d3041c30c77ae49a1f8f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20Leegwater=20Sim=C3=B5es?= Date: Tue, 24 Oct 2023 10:54:59 +0200 Subject: [PATCH] contracts: build for `wasm64-unknown-unknown` Resolves: #280 --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 91c99309..369b776c 100644 --- a/Makefile +++ b/Makefile @@ -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