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" \
|
||||
# rustup run nightly cargo build --release
|
||||
RUSTFLAGS="-Zlocation-detail=none -Zfmt-debug=none" cargo +nightly build \
|
||||
-Z build-std=std,panic_abort \
|
||||
-Z build-std-features="optimize_for_size" \
|
||||
--release
|
||||
|
||||
# rustup run nightly cargo build \
|
||||
# --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
|
||||
# upx ./target/release/libunshell_module_test.so
|
||||
|
||||
Reference in New Issue
Block a user