static building

This commit is contained in:
JOLIMAITRE Matthieu 2022-04-04 14:44:34 +03:00
parent 0d492adb0a
commit ce55e6a545

4
build-static.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
RUSTFLAGS='-C target-feature=+crt-static'
cargo build --release