Skip to content

Commit baba879

Browse files
committed
Merge #645
645: Use single threads for testing r=asomers I actually couldn't find a reference to CARGO_TEST_THREADS in the current cargo codebase, but RUST_TEST_THREADS is definitely correct. This should reduce some spurious failures on some platforms.
2 parents 1bd18d5 + d2508e3 commit baba879

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sudo: required
99
env:
1010
global:
1111
- CRATE_NAME=nix
12-
- CARGO_TEST_THREADS=1
12+
- RUST_TEST_THREADS=1
1313

1414
matrix:
1515
# These are all the build jobs. Adjust as necessary. Comment out what you

Cross.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[build.env]
2+
passthrough = ["RUST_TEST_THREADS"]

0 commit comments

Comments
 (0)