We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f008cc6 commit 164e9b4Copy full SHA for 164e9b4
Cross.toml
@@ -0,0 +1,2 @@
1
+[build.env]
2
+passthrough = ["RUST_TEST_THREADS"]
ci/script.sh
@@ -8,6 +8,9 @@ main() {
8
export RUSTFLAGS=--cfg=travis
9
fi
10
11
+ # Use only a single thread for testing as we get spurious failures otherwise
12
+ export RUST_TEST_THREADS=1
13
+
14
# Build debug and release targets
15
cross build --target $TARGET
16
cross build --target $TARGET --release
0 commit comments