Skip to content

Commit b7396c3

Browse files
authored
Attempt to fix CI (rust-lang#108)
Need to bring codegen units back to only one for now
1 parent 434a69f commit b7396c3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.appveyor.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ install:
1919
build: false
2020

2121
test_script:
22-
- cargo test --target %TARGET%
23-
- cargo test --target %TARGET% --release
22+
- C:\msys64\usr\bin\sh ci\run.sh
2423

2524
branches:
2625
only:

ci/run.sh

+3
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22

33
set -ex
44

5+
# FIXME(rust-lang/rust#45201) shouldn't need to specify one codegen unit
6+
export RUSTFLAGS="$RUSTFLAGS -C codegen-units=1"
7+
58
cargo test --target $TARGET
69
cargo test --release --target $TARGET

0 commit comments

Comments
 (0)