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:
44
44
make update-bindings
45
45
46
46
# 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).
50
47
build-rust-release :
51
48
(cd libwasmvm && cargo build --release)
52
49
cp libwasmvm/target/release/$(SHARED_LIB_SRC ) internal/api/$(SHARED_LIB_DST )
53
50
make update-bindings
54
- @ # this pulls out ELF symbols, 80% size reduction!
55
51
56
52
build-go :
57
53
go build ./...
Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ set -o errexit -o nounset -o pipefail
3
3
4
4
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
5
5
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).
8
7
9
8
echo " Starting aarch64-unknown-linux-gnu build"
10
9
export CC=clang
Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ set -o errexit -o nounset -o pipefail
3
3
4
4
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
5
5
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).
8
7
9
8
echo " Starting x86_64-unknown-linux-gnu build"
10
9
export CC=clang
Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
7
7
export PATH=" /opt/osxcross/target/bin:$PATH "
8
8
export LIBZ_SYS_STATIC=1
9
9
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).
12
11
13
12
echo " Starting aarch64-apple-darwin build"
14
13
export 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
7
7
export PATH=" /opt/osxcross/target/bin:$PATH "
8
8
export LIBZ_SYS_STATIC=1
9
9
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).
12
11
13
12
echo " Starting aarch64-apple-darwin build"
14
13
export 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
3
3
4
4
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
5
5
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).
8
7
9
8
echo " Starting aarch64-unknown-linux-musl build"
10
9
export CC=/opt/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc
You can’t perform that action at this time.
0 commit comments