Skip to content
Greg Tassone edited this page Sep 10, 2023 · 1 revision

Project Notes

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

Clone this wiki locally