wasmer_compiler_singlepass/
lib.rs

1//! A WebAssembly `Compiler` implementation using Singlepass.
2//!
3//! Singlepass is a super-fast assembly generator that generates
4//! assembly code in just one pass. This is useful for different applications
5//! including Blockchains and Edge computing where quick compilation
6//! times are a must, and JIT bombs should never happen.
7//!
8//! Compared to Cranelift and LLVM, Singlepass compiles much faster but has worse
9//! runtime performance.
10
11#![allow(clippy::unnecessary_cast)]
12#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
13
14mod address_map;
15mod arm64_decl;
16mod codegen;
17mod common_decl;
18mod compiler;
19mod config;
20#[cfg(feature = "unwind")]
21mod dwarf;
22mod emitter_arm64;
23mod emitter_x64;
24mod location;
25mod machine;
26mod machine_arm64;
27mod machine_x64;
28mod unwind;
29#[cfg(feature = "unwind")]
30mod unwind_winx64;
31mod x64_decl;
32
33pub use crate::compiler::SinglepassCompiler;
34pub use crate::config::Singlepass;