Expand description
Runtime compilation and execution
Runtime code generation (JIT compilation) using ras, with optional sandboxing for secure execution.
Re-exports§
pub use compiler::RuntimeCompiler;pub use executor::execute_jit_function;pub use macro_helpers::compile_lir_internal;pub use sandbox::Sandbox;pub use sandbox::SandboxConfig;
Modules§
- c_
abi_ dynamic - Dynamic
extern "C"calls with a runtime-knowni64argument count. - compiler
- Runtime compiler
- executor
- JIT function execution
- macro_
helpers - Helper functions for the
lir!macro - sandbox
- Sandbox for executing JIT-compiled code with resource constraints.
Structs§
- Executable
Memory - Executable memory for JIT-compiled code
- RasRuntime
- Runtime compiler: MIR to executable memory
- Runtime
Result - Runtime compilation result
Functions§
- compile_
to_ runtime - Compile MIR module to executable memory using runtime compilation