Skip to main content

Crate lua_gc

Crate lua_gc 

Source
Expand description

Lua 5.4 garbage collector.

Modules: heap — Phase-D production mark-sweep (Gc, Trace, Heap)

Historical Phase-A partial ports of C-Lua’s lgc.c/lmem.c were removed once heap.rs became the production collector. Keep this crate’s source tree limited to compiled modules so unsafe audits reflect the active build.

Re-exports§

pub use heap::Color;
pub use heap::Gc;
pub use heap::GcBox;
pub use heap::GcHeader;
pub use heap::GcState;
pub use heap::Heap;
pub use heap::HeapGuard;
pub use heap::Marker;
pub use heap::StepBudget;
pub use heap::StepOutcome;
pub use heap::Trace;
pub use heap::with_current_heap;

Modules§

heap
Phase D mark-and-sweep garbage collector.