rust/src/test/ui/feature-gates/feature-gate-cfg_sanitize.rs
Tomasz Miąsko c703ff2655 Conditional compilation for sanitizers
Configure sanitize option when compiling with a sanitizer to make
it possible to execute different code depending on whether given
sanitizer is enabled or not.
2019-12-01 09:03:35 +01:00

4 lines
83 B
Rust

#[cfg(not(sanitize = "thread"))]
//~^ `cfg(sanitize)` is experimental
fn main() {}