1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//! # Ristretto JIT
//!
//! [](https://codecov.io/gh/theseus-rs/ristretto)
//! [](https://bencher.dev/perf/theseus-rs-ristretto)
//! [](https://github.com/theseus-rs/ristretto#license)
//! [](https://semver.org/spec/v2.0.0.html)
//!
//! ## Overview
//!
//! Ristretto JIT provides a Just-In-Time compiler for the Ristretto VM. The JIT compiler generates
//! native code from Ristretto VM bytecode, allowing for high-performance execution directly on the
//! host machine. The library supports both standard platforms and WebAssembly targets with tailored
//! compilation strategies. The appropriate compiler is automatically selected based on the target
//! platform.
//!
//! ## Features
//!
//! - Fast execution through native code generation
//! - Automatic optimization of bytecode
//! - Control flow graph analysis
//! - Platform-specific compilation for x86-64, aarch64 (aka ARM64), s390x (aka IBM Z) and riscv64
//! - Comprehensive error handling
//!
pub use Compiler;
pub use ;
pub use Function;
pub use JitValue;
pub use Value;
pub use Compiler;