From ce55e6a54557a193307593b0b68e33bf64cc7d9f Mon Sep 17 00:00:00 2001 From: JOLIMAITRE Matthieu Date: Mon, 4 Apr 2022 14:44:34 +0300 Subject: [PATCH] static building --- build-static.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 build-static.sh diff --git a/build-static.sh b/build-static.sh new file mode 100755 index 0000000..ab3a13d --- /dev/null +++ b/build-static.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +RUSTFLAGS='-C target-feature=+crt-static' +cargo build --release