Closed Lee-Janggun closed 1 year ago
You should be able to use RUSTFLAGS="-Zsanitizer=thread"
like you would normally. If your use case needs build-std
, then you'll also need to pass -c rust-src
to download the std source.
Can you say more if that doesn't help?
I was missing the build-std option. Thank you very much!
Is there a way to preform
cargo-bisect-rustc
with thread sanitizer enabled? I have a regression of test case that only happens with sanitizers enabled, but sincecargo-bisect-rustc
does not seem to have sanitizer options, needed to hand-bisect my case.