File tree Expand file tree Collapse file tree 6 files changed +5
-14
lines changed
Expand file tree Collapse file tree 6 files changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -44,14 +44,10 @@ build-rust-debug:
4444 make update-bindings
4545
4646# use release build to actually ship - smaller and much faster
47- #
48- # See https://github.com/CosmWasm/wasmvm/issues/222#issuecomment-880616953 for two approaches to
49- # enable stripping through cargo (if that is desired).
5047build-rust-release :
5148 (cd libwasmvm && cargo build --release)
5249 cp libwasmvm/target/release/$(SHARED_LIB_SRC ) internal/api/$(SHARED_LIB_DST )
5350 make update-bindings
54- @ # this pulls out ELF symbols, 80% size reduction!
5551
5652build-go :
5753 go build ./...
Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ set -o errexit -o nounset -o pipefail
33
44export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
55
6- # See https://github.com/CosmWasm/wasmvm/issues/222#issuecomment-880616953 for two approaches to
7- # enable stripping through cargo (if that is desired).
6+ # No stripping implemented (see https://github.com/CosmWasm/wasmvm/issues/222#issuecomment-2260007943).
87
98echo " Starting aarch64-unknown-linux-gnu build"
109export CC=clang
Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ set -o errexit -o nounset -o pipefail
33
44export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
55
6- # See https://github.com/CosmWasm/wasmvm/issues/222#issuecomment-880616953 for two approaches to
7- # enable stripping through cargo (if that is desired).
6+ # No stripping implemented (see https://github.com/CosmWasm/wasmvm/issues/222#issuecomment-2260007943).
87
98echo " Starting x86_64-unknown-linux-gnu build"
109export CC=clang
Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
77export PATH=" /opt/osxcross/target/bin:$PATH "
88export LIBZ_SYS_STATIC=1
99
10- # See https://github.com/CosmWasm/wasmvm/issues/222#issuecomment-880616953 for two approaches to
11- # enable stripping through cargo (if that is desired).
10+ # No stripping implemented (see https://github.com/CosmWasm/wasmvm/issues/222#issuecomment-2260007943).
1211
1312echo " Starting aarch64-apple-darwin build"
1413export CC=aarch64-apple-darwin20.4-clang
Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
77export PATH=" /opt/osxcross/target/bin:$PATH "
88export LIBZ_SYS_STATIC=1
99
10- # See https://github.com/CosmWasm/wasmvm/issues/222#issuecomment-880616953 for two approaches to
11- # enable stripping through cargo (if that is desired).
10+ # No stripping implemented (see https://github.com/CosmWasm/wasmvm/issues/222#issuecomment-2260007943).
1211
1312echo " Starting aarch64-apple-darwin build"
1413export CC=aarch64-apple-darwin20.4-clang
Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ set -e # Note we are not using bash here but the Alpine default shell
33
44export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
55
6- # See https://github.com/CosmWasm/wasmvm/issues/222#issuecomment-880616953 for two approaches to
7- # enable stripping through cargo (if that is desired).
6+ # No stripping implemented (see https://github.com/CosmWasm/wasmvm/issues/222#issuecomment-2260007943).
87
98echo " Starting aarch64-unknown-linux-musl build"
109export CC=/opt/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc
You can’t perform that action at this time.
0 commit comments