1#[cfg(not(any(feature = "full", target_family = "wasm")))]
2compile_error!("run main Tokio tests with `--features full`");
3
4// CI sets `--cfg tokio_no_parking_lot` when trying to run tests with
5// `parking_lot` disabled. This check prevents "silent failure" if `parking_lot`
6// accidentally gets enabled.
7#[cfg(all(tokio_no_parking_lot, feature = "parking_lot"))]
8compile_error!("parking_lot feature enabled when it should not be");
9