This commit is contained in:
Sam 2023-01-05 21:19:20 -05:00
parent 39b30b3458
commit 0539c9de74
3 changed files with 3 additions and 3 deletions

View File

@ -132,7 +132,7 @@ coverage:
- export DISABLE_GIT_LFS_CHECK=true
- export VELOREN_ASSETS="$(pwd)/assets"
- echo "VELOREN_ASSETS=$VELOREN_ASSETS"
- export RUSTFLAGS="-D warnings"
# - export RUSTFLAGS="-D warnings"
- export CARGO_INCREMENTAL=0
.tmacos:

View File

@ -4,6 +4,6 @@ export DISABLE_GIT_LFS_CHECK=true
export VELOREN_ASSETS="assets"
# When updating RUSTFLAGS here, windows-x86_64.sh must also be updated as it sets them independently
export RUSTFLAGS="-D warnings"
# export RUSTFLAGS="-D warnings"
export SHADERC_LIB_DIR=/shaderc/combined/

View File

@ -6,6 +6,6 @@ export VELOREN_USERDATA_STRATEGY=executable
# RUSTFLAGS is set here in addition to env.sh (which is used for all targets not just windows) due to
# https://github.com/rust-lang/cargo/issues/5376 which prevents the windows-specific rustflags set in
# .cargo/config from being applied
export RUSTFLAGS="-D warnings -C link-arg=-lpsapi"
export RUSTFLAGS="-C link-arg=-lpsapi"
time cargo build --target=x86_64-pc-windows-gnu --release --no-default-features --features default-publish