Skip to content

Commit 45f1388

Browse files
committed
Make the x86 builds static too
1 parent 516923d commit 45f1388

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CompileBinaries.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
echo "x64 build"
2-
cargo build --release
3-
mv ./target/release/net_hex ./net_hex_x64
2+
rustup target add x86_64-unknown-linux-musl
3+
cargo build --release --target x86_64-unknown-linux-musl
4+
mv ./target/x86_64-unknown-linux-musl/release/net_hex ./net_hex_x64
45
strip ./net_hex_x64
56

67
echo "ARM build"

0 commit comments

Comments
 (0)