mach: implement App struct in terms of unified entry point

This commit is contained in:
iddev5 2022-04-28 00:05:44 +05:30 committed by Stephen Gutekanst
parent 3e87b383d2
commit 2aedc4ca01
6 changed files with 313 additions and 333 deletions

View file

@ -103,7 +103,7 @@ const MachApp = struct {
b: *std.build.Builder,
pub fn createApplication(b: *std.build.Builder, name: []const u8, src: []const u8, deps: []const Pkg) MachApp {
const exe = b.addExecutable(name, "src/entry/native.zig");
const exe = b.addExecutable(name, "src/entry_native.zig");
exe.addPackage(.{
.name = "app",
.path = .{ .path = src },