mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-07 13:18:20 +00:00
21 lines
632 B
Rust
21 lines
632 B
Rust
//! A WebAssembly `Compiler` implementation using Singlepass.
|
|
//!
|
|
//! Singlepass is a super-fast assembly generator that generates
|
|
//! assembly code in just one pass. This is useful for different applications
|
|
//! including Blockchains and Edge computing where quick compilation
|
|
//! times are a must, and JIT bombs should never happen.
|
|
//!
|
|
//! Compared to Cranelift and LLVM, Singlepass compiles much faster but has worse
|
|
//! runtime performance.
|
|
|
|
mod codegen_x64;
|
|
mod common_decl;
|
|
mod compiler;
|
|
mod config;
|
|
mod emitter_x64;
|
|
mod machine;
|
|
mod x64_decl;
|
|
|
|
pub use crate::compiler::SinglepassCompiler;
|
|
pub use crate::config::Singlepass;
|