nifty_codegen/lib.rs
1//! Compiles checked Nifty programs to machine code with Cranelift, and links them against
2//! the `nifty-rt` runtime library into executables.
3
4mod compile;
5mod emit;
6mod error;
7mod link;
8mod object;
9#[cfg(feature = "testing")]
10pub mod testing;
11
12pub use compile::compile;
13pub use emit::{Blob, Emitter, Target, host_isa};
14pub use error::CodegenError;
15pub use link::{RUNTIME_LIBRARY, link};
16pub use object::{compile_app, finish, object_emitter};