mirror of
https://github.com/Astatin3/unshell.git
synced 2026-06-08 22:38:01 -06:00
Update build.sh
This commit is contained in:
@@ -1,12 +1,6 @@
|
|||||||
# RUSTFLAGS="-Zlocation-detail=none -Zfmt-debug=none" \
|
RUSTFLAGS="-Zlocation-detail=none -Zfmt-debug=none" cargo +nightly build \
|
||||||
# rustup run nightly cargo build --release
|
-Z build-std=std,panic_abort \
|
||||||
|
-Z build-std-features="optimize_for_size" \
|
||||||
|
--release
|
||||||
|
|
||||||
# rustup run nightly cargo build \
|
# upx ./target/release/libunshell_module_test.so
|
||||||
# --release \
|
|
||||||
# --no-default-features \
|
|
||||||
# -Zbuild-std="core,std,alloc,proc_macro,panic_abort" \
|
|
||||||
# -Zbuild-std-features="panic_immediate_abort"
|
|
||||||
|
|
||||||
|
|
||||||
# RUSTFLAGS="-Z build-std" \
|
|
||||||
rustup run nightly cargo build --release
|
|
||||||
|
|||||||
Reference in New Issue
Block a user