Files
unshell/unshell-payload/build.sh
T
2025-12-20 14:08:17 -07:00

12 lines
340 B
Bash
Executable File

# OBFUSCATION_KEY=abc123abc \
# RUST_LOG=info \
# cargo run --no-default-features $@ --release # $(ls ../*/target/release/*.so)
OBFUSCATION_KEY=abc123abc \
RUSTFLAGS="-Zlocation-detail=none -Zfmt-debug=none" \
cargo +nightly build \
-Z build-std=std,panic_abort \
-Z build-std-features="optimize_for_size" \
$@ \
--profile release