rust/tests/source/issue-3253/lib.rs

15 lines
256 B
Rust
Raw Normal View History

#[macro_use]
extern crate cfg_if;
cfg_if! {
if #[cfg(target_family = "unix")] {
mod foo;
#[path = "paths/bar_foo.rs"]
mod bar_foo;
} else {
mod bar;
#[path = "paths/foo_bar.rs"]
mod foo_bar;
}
}