Keep internal modules private, but re-export under fuzzing feature flag

This commit is contained in:
Chris Fallin
2021-06-19 12:08:37 -07:00
parent caf7274efd
commit 50eb6fc42f
7 changed files with 47 additions and 20 deletions

View File

@@ -6,3 +6,27 @@
//! Utilities for fuzzing.
pub mod func;
// Re-exports for fuzz targets.
pub mod domtree {
pub use crate::domtree::*;
}
pub mod postorder {
pub use crate::postorder::*;
}
pub mod moves {
pub use crate::moves::*;
}
pub mod cfg {
pub use crate::cfg::*;
}
pub mod ssa {
pub use crate::ssa::*;
}
pub mod ion {
pub use crate::ion::*;
}
pub mod checker {
pub use crate::checker::*;
}