We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5ce7a04 + 8fc0fd5 commit 143c05aCopy full SHA for 143c05a
src/tools/miri/src/concurrency/mod.rs
@@ -9,18 +9,9 @@ mod vector_clock;
9
pub mod weak_memory;
10
11
// Import either the real genmc adapter or a dummy module.
12
-cfg_select! {
13
- feature = "genmc" => {
14
- mod genmc;
15
- pub use self::genmc::{GenmcCtx, GenmcConfig};
16
- }
17
- _ => {
18
- #[path = "genmc/dummy.rs"]
19
- mod genmc_dummy;
20
- use self::genmc_dummy as genmc;
21
22
23
-}
+#[cfg_attr(not(feature = "genmc"), path = "genmc/dummy.rs")]
+mod genmc;
24
25
pub use self::data_race_handler::{AllocDataRaceHandler, GlobalDataRaceHandler};
+pub use self::genmc::{GenmcConfig, GenmcCtx};
26
pub use self::vector_clock::VClock;
0 commit comments