Don't export rustflags

type: fixed
This commit is contained in:
Casey Rodarmor 2021-10-11 17:30:00 -07:00
parent 6c4805890b
commit 984543fcb9
No known key found for this signature in database
GPG Key ID: 556186B153EC6FE0

View File

@ -26,8 +26,8 @@ case $os in
;;
esac
export RUSTFLAGS='--deny warnings --codegen target-feature=+crt-static'
cargo build --bin $bin --target $target --release
RUSTFLAGS='--deny warnings --codegen target-feature=+crt-static' \
cargo build --bin $bin --target $target --release
executable=target/$target/release/$bin
if [[ $os == windows-2016 ]]; then