forked from MagnetForensics/dumpit-linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Greg Tassone edited this page Sep 10, 2023
·
1 revision
For those interested in creating static compiled binaries from Rust projects, see the following resource:
https://msfjarvis.dev/posts/building-static-rust-binaries-for-linux/
Of particular use are the following compile settings from a working/tested Rust project:
RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --target x86_64-unknown-linux-gnu