update build scripts

This commit is contained in:
2025-07-12 00:22:52 +03:00
parent eacfaaf8f6
commit 22c5ca6384
9 changed files with 54 additions and 19 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/bash
# Change dir to the cargo project
cd "$(dirname "$(realpath "$0")")/.." || exit
RUST_TARGET=${1:-"x86_64-unknown-linux-gnu"}
rustup target add "$RUST_TARGET"
cargo build --release --target "$RUST_TARGET"