From 00a10097580a19ff8a9878023fc28ca6cabbeba3 Mon Sep 17 00:00:00 2001 From: likanug Date: Mon, 18 Aug 2025 11:35:22 +0800 Subject: [PATCH] fix: fix the error when run zig build run-core-custom-entrypoint --- examples/core-custom-entrypoint/App.zig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/core-custom-entrypoint/App.zig b/examples/core-custom-entrypoint/App.zig index 75a970055b..4b0b6c18a0 100644 --- a/examples/core-custom-entrypoint/App.zig +++ b/examples/core-custom-entrypoint/App.zig @@ -7,6 +7,12 @@ pub const mach_module = .app; pub const mach_systems = .{ .main, .init, .deinit, .tick }; +// define Modules +pub const Modules = mach.Modules(.{ + mach.Core, + @import("App.zig"), +}); + window: mach.ObjectID, title_timer: mach.time.Timer, pipeline: *gpu.RenderPipeline,