shape-jit 0.3.2

Tiered JIT compiler (Cranelift) for the Shape virtual machine
Documentation
//! JIT Compiler Module Organization
//!
//! This module organizes the JIT compiler into logical sub-modules:
//! - `setup` - Compiler initialization and struct definition
//! - `ffi_builder` - FFI function reference building
//! - `strategy` - Strategy compilation methods
//! - `program` - Program compilation with multiple functions
//! - `accessors` - Accessor methods and helper functions

mod accessors;
mod ffi_builder;
mod program;
mod setup;
mod strategy;

// Heavy execution-path tests — gated behind the `deep-tests` feature.
// See crate-level `deep-tests` gate in `mir_compiler/mod.rs` for rationale.
#[cfg(all(test, feature = "deep-tests"))]
mod a1d2_tests;

#[cfg(all(test, feature = "deep-tests"))]
mod a1e_tests;

#[cfg(all(test, feature = "deep-tests"))]
mod c2_tests;

// Re-export the main struct and public functions
pub use accessors::{
    JitParityEntry, JitParityTarget, JitPreflightReport, build_full_builtin_parity_matrix,
    build_full_opcode_parity_matrix, build_program_parity_matrix, can_jit_compile,
    get_incomplete_opcodes, get_unsupported_opcodes, preflight_blob_jit_compatibility,
    preflight_instructions, preflight_jit_compatibility,
};
pub use setup::JITCompiler;
// JITKernelCompiler removed — see setup.rs comment block.
// Underlying `shape_runtime::simulation` module bulldozed in 2601ba7;
// re-introduction owned by the simulation-kernel-extension-rebuild
// workstream.