diff --git a/Makefile b/Makefile index 2f0a4f77d..d2fd87cc3 100644 --- a/Makefile +++ b/Makefile @@ -44,14 +44,10 @@ build-rust-debug: make update-bindings # use release build to actually ship - smaller and much faster -# -# See https://github.com/CosmWasm/wasmvm/issues/222#issuecomment-880616953 for two approaches to -# enable stripping through cargo (if that is desired). build-rust-release: (cd libwasmvm && cargo build --release) cp libwasmvm/target/release/$(SHARED_LIB_SRC) internal/api/$(SHARED_LIB_DST) make update-bindings - @ #this pulls out ELF symbols, 80% size reduction! build-go: go build ./... diff --git a/builders/guest/build_gnu_aarch64.sh b/builders/guest/build_gnu_aarch64.sh index 2723c11ab..2f6545f8d 100644 --- a/builders/guest/build_gnu_aarch64.sh +++ b/builders/guest/build_gnu_aarch64.sh @@ -3,8 +3,7 @@ set -o errexit -o nounset -o pipefail export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse -# See https://github.com/CosmWasm/wasmvm/issues/222#issuecomment-880616953 for two approaches to -# enable stripping through cargo (if that is desired). +# No stripping implemented (see https://github.com/CosmWasm/wasmvm/issues/222#issuecomment-2260007943). echo "Starting aarch64-unknown-linux-gnu build" export CC=clang diff --git a/builders/guest/build_gnu_x86_64.sh b/builders/guest/build_gnu_x86_64.sh index 78067bb77..461e2c45f 100644 --- a/builders/guest/build_gnu_x86_64.sh +++ b/builders/guest/build_gnu_x86_64.sh @@ -3,8 +3,7 @@ set -o errexit -o nounset -o pipefail export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse -# See https://github.com/CosmWasm/wasmvm/issues/222#issuecomment-880616953 for two approaches to -# enable stripping through cargo (if that is desired). +# No stripping implemented (see https://github.com/CosmWasm/wasmvm/issues/222#issuecomment-2260007943). echo "Starting x86_64-unknown-linux-gnu build" export CC=clang diff --git a/builders/guest/build_macos.sh b/builders/guest/build_macos.sh index 795e2f22c..e98522f26 100644 --- a/builders/guest/build_macos.sh +++ b/builders/guest/build_macos.sh @@ -7,8 +7,7 @@ export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse export PATH="/opt/osxcross/target/bin:$PATH" export LIBZ_SYS_STATIC=1 -# See https://github.com/CosmWasm/wasmvm/issues/222#issuecomment-880616953 for two approaches to -# enable stripping through cargo (if that is desired). +# No stripping implemented (see https://github.com/CosmWasm/wasmvm/issues/222#issuecomment-2260007943). echo "Starting aarch64-apple-darwin build" export CC=aarch64-apple-darwin20.4-clang diff --git a/builders/guest/build_macos_static.sh b/builders/guest/build_macos_static.sh index aed55d2ed..94dcd98f1 100644 --- a/builders/guest/build_macos_static.sh +++ b/builders/guest/build_macos_static.sh @@ -7,8 +7,7 @@ export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse export PATH="/opt/osxcross/target/bin:$PATH" export LIBZ_SYS_STATIC=1 -# See https://github.com/CosmWasm/wasmvm/issues/222#issuecomment-880616953 for two approaches to -# enable stripping through cargo (if that is desired). +# No stripping implemented (see https://github.com/CosmWasm/wasmvm/issues/222#issuecomment-2260007943). echo "Starting aarch64-apple-darwin build" export CC=aarch64-apple-darwin20.4-clang diff --git a/builders/guest/build_muslc.sh b/builders/guest/build_muslc.sh index a2502312f..d2bdc1998 100644 --- a/builders/guest/build_muslc.sh +++ b/builders/guest/build_muslc.sh @@ -3,8 +3,7 @@ set -e # Note we are not using bash here but the Alpine default shell export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse -# See https://github.com/CosmWasm/wasmvm/issues/222#issuecomment-880616953 for two approaches to -# enable stripping through cargo (if that is desired). +# No stripping implemented (see https://github.com/CosmWasm/wasmvm/issues/222#issuecomment-2260007943). echo "Starting aarch64-unknown-linux-musl build" export CC=/opt/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc