Settings can be defined globally or per-ISA. They are available to code through a generated Settings struct with accessor methods per setting.
19 lines
453 B
Rust
19 lines
453 B
Rust
|
|
// ====------------------------------------------------------------------------------------==== //
|
|
//
|
|
// Cretonne code generation library.
|
|
//
|
|
// ====------------------------------------------------------------------------------------==== //
|
|
|
|
pub const VERSION: &'static str = env!("CARGO_PKG_VERSION");
|
|
|
|
pub mod ir;
|
|
pub mod isa;
|
|
pub mod write;
|
|
pub mod cfg;
|
|
pub mod dominator_tree;
|
|
pub mod entity_map;
|
|
pub mod settings;
|
|
|
|
#[cfg(test)]pub mod test_utils;
|