diff --git a/build-static.bash b/build-static.bash new file mode 100755 index 0000000..9ba672e --- /dev/null +++ b/build-static.bash @@ -0,0 +1,7 @@ +#!/bin/bash + +set -ex + +export RUSTFLAGS='-C target-feature=+crt-static' +cargo build --release --target x86_64-unknown-linux-gnu +cp target/x86_64-unknown-linux-gnu/release/keep-rust ./