Closed hawkw closed 4 years ago
I wonder if loom dependency can be made into a dev
dependnecy or an optional feature-gated dependency?
Although it is not being build, it does end up in downstream Cargo.locks: https://github.com/rust-analyzer/rust-analyzer/pull/6344/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87eR846-R858
this branch makes the following minor test tweaks:
/usr/bin/env bash
in loom scriptsloom
and non-loom tests into separate cfgsloom
when--cfg loom
is set (so we don't make other crates' loom tests nondeterministic by sharing TIDs globally)