Files
wasmtime/lib/cretonne/src/lib.rs
Jakob Stoklund Olesen c995cb6f43 Add a ref_slice module.
Utility functions for converting &T to an &[T] slice with a single
element.
2016-11-04 12:32:09 -07:00

25 lines
467 B
Rust

//! Cretonne code generation library.
#![deny(missing_docs)]
pub use verifier::verify_function;
pub use write::write_function;
pub use legalizer::legalize_function;
/// Version number of the cretonne crate.
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;
mod ref_slice;