Files
wasmtime/lib/cretonne/src/lib.rs
Jakob Stoklund Olesen e8993e79e4 Implement PackedOption to address #19.
The PackedOption<T> struct uses the same amount of memory as T, but can
represent None via a reserved value.
2017-01-19 13:10:32 -08:00

28 lines
524 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 sparse_map;
pub mod settings;
pub mod verifier;
pub mod regalloc;
mod write;
mod constant_hash;
mod predicates;
mod legalizer;
mod ref_slice;
mod packed_option;