Add a way to make builds with one job deterministic #5009
Labels
A-build-execution
Area: anything dealing with executing the compiler
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
S-needs-design
Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Currently
cargo build -j 1
builds crates, that can be built in parallel, in random order:This is very painful when trying write a cargotest for a complex situation involving multiple crates:
(this test will pass, 1 every 24 times!).
Maybe... we should even make
-j 1
being deterministic be the default... Issues about this have been filled in the past #2607 .The text was updated successfully, but these errors were encountered: