Expand description
Abstractions around allocators that provide dual-mapped memory with XOR protection rules (one RW view and one RX view) suitable for emitting code at runtime.
Meant to be an abstraction over the jit-allocator crate’s API so that it can be swapped with
user-provided allocators.
See the JitAlloc trait for more information.
Structs§
- Global
JitAlloc bundled_jit_alloc - The default, global JIT allocator.
- JitAlloc
Error - Anonymous error that may be returned by
JitAllocimplementations whenJitAlloc::allocorJitAlloc::releasefail. - Thread
JitAlloc Non- no_stdandbundled_jit_alloc - Marker type providing access to a thread-local JIT allocator.
Enums§
- Protect
JitAccess - Values to use with
JitAlloc::protect_jit_memory.
Traits§
- JitAlloc
- Generic allocator providing virtual memory suitable for emitting code at runtime.