fix release script

This commit is contained in:
2024-04-25 13:07:38 +02:00
parent 0a7ae9c234
commit e6e819daf2

View File

@@ -1,4 +1,5 @@
#!/bin/sh
RUSTFLAGS="-Zlocation-detail=none" cargo +nightly build -Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort --release
upx --best --lzma target/release/term_2048
cp target/release/term_2048 term_2048
RUSTFLAGS="-Zlocation-detail=none" cargo +nightly build -Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort \
--target x86_64-unknown-linux-gnu --release
upx --best --lzma target/x86_64-unknown-linux-gnu/release/term_2048
cp target/x86_64-unknown-linux-gnu/release/term_2048 term_2048