module: implement cross-Object-pool graph relations

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2024-11-17 20:55:22 -07:00 committed by Emi Gutekanst
parent ae863c2431
commit 714f200bc1
10 changed files with 91 additions and 34 deletions

View file

@ -13,7 +13,8 @@ pub fn main() !void {
const allocator = std.heap.c_allocator;
// The set of Mach modules our application may use.
var mods = Modules.init(allocator);
var mods: Modules = undefined;
try mods.init(allocator);
// TODO: enable mods.deinit(allocator); for allocator leak detection
// defer mods.deinit(allocator);