Add a build helper script

This commit is contained in:
Michael Pfaff 2024-08-09 01:13:27 -04:00
parent 0c2533efa8
commit 35dd3709be
1 changed files with 8 additions and 0 deletions

8
build.sh Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash -e
export RUSTFLAGS='-Ctarget-cpu=x86-64-v3'
PROFILE=${PROFILE:-release-lto}
cargo build --profile "$PROFILE"
cargo build --profile "$PROFILE" --target=x86_64-pc-windows-gnu