1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// no-prefer-dynamic // compile-flags: -Z query-dep-graph #![crate_type="rlib"] #[cfg(rpass1)] pub type X = u32; #[cfg(rpass2)] pub type X = i32; // this version doesn't actually change anything: #[cfg(rpass3)] pub type X = i32; pub type Y = char;