mirror of
https://gitee.com/openharmony/third_party_rust_nix
synced 2025-02-02 05:54:53 +00:00
Use single threads for testing
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.
This commit is contained in:
parent
274b09eee1
commit
d2508e3a44
@ -9,7 +9,7 @@ sudo: required
|
||||
env:
|
||||
global:
|
||||
- CRATE_NAME=nix
|
||||
- CARGO_TEST_THREADS=1
|
||||
- RUST_TEST_THREADS=1
|
||||
|
||||
matrix:
|
||||
# These are all the build jobs. Adjust as necessary. Comment out what you
|
||||
|
2
Cross.toml
Normal file
2
Cross.toml
Normal file
@ -0,0 +1,2 @@
|
||||
[build.env]
|
||||
passthrough = ["RUST_TEST_THREADS"]
|
Loading…
x
Reference in New Issue
Block a user