lua_gc/lib.rs
1//! Lua 5.4 garbage collector.
2//!
3//! Modules:
4//! heap — Phase-D production mark-sweep (Gc<T>, Trace, Heap)
5//!
6//! Historical Phase-A partial ports of C-Lua's `lgc.c`/`lmem.c` were removed
7//! once `heap.rs` became the production collector. Keep this crate's source
8//! tree limited to compiled modules so unsafe audits reflect the active build.
9
10pub mod heap;
11
12pub use heap::{
13 detached_allocations, with_current_heap, BootstrapScope, Color,
14 FinalizerEntry, FinalizerRegistry, FinalizerRegistryStats, Gc, GcAge, GcBox, GcHeader, GcState,
15 Heap, HeapGuard, HeapRef, Marker, StepBudget, StepOutcome, Trace, Udata51Probe, WeakEntry,
16 WeakListKind, WeakRegistry, WeakRegistrySnapshot, WeakRegistryStats,
17};