Give these crates each a more standard directory layout with sources in a 'src' sub-sirectory and Cargo.toml in the top lib/foo directory. Add license and description fields to each. The build script for the cretonne crate now lives in 'lib/cretonne/build.rs' separating it from the normal library sources under 'lib/cretonne/src'.
26 lines
590 B
Rust
26 lines
590 B
Rust
|
|
// ====------------------------------------------------------------------------------------==== //
|
|
//
|
|
// Cretonne code generation library.
|
|
//
|
|
// ====------------------------------------------------------------------------------------==== //
|
|
|
|
pub use verifier::verify_function;
|
|
pub use write::write_function;
|
|
pub use legalizer::legalize_function;
|
|
|
|
pub const VERSION: &'static str = env!("CARGO_PKG_VERSION");
|
|
|
|
pub mod ir;
|
|
pub mod isa;
|
|
pub mod cfg;
|
|
pub mod dominator_tree;
|
|
pub mod entity_map;
|
|
pub mod settings;
|
|
pub mod verifier;
|
|
|
|
mod write;
|
|
mod constant_hash;
|
|
mod predicates;
|
|
mod legalizer;
|