tokio-rs / loom

Concurrency permutation testing tool for Rust.
MIT License
2.08k stars 110 forks source link

Suggest adding `-C debug-assertions` when executing loom tests with `--release`? #361

Open wyfo opened 1 month ago

wyfo commented 1 month ago

Current documentation suggests executing loom tests with --release, but it has the side effect of disabling debug assertions (and standard library ones since 1.78), which can be quite unexpected when running tests.

Should the documentation also suggest adding -C debug-assertions?

mox692 commented 1 month ago

Should the documentation also suggest adding -C debug-assertions?

That makes sense to me.