9 lines
197 B
Bash
9 lines
197 B
Bash
|
#!/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
|