mach: Reorganised native backend files, moved structs and fixed circular

dependency
This commit is contained in:
iddev5 2022-05-15 12:33:50 +05:30 committed by Stephen Gutekanst
parent 2df0bc2786
commit 657091ed65
6 changed files with 106 additions and 117 deletions

View file

@ -114,7 +114,7 @@ const App = struct {
src: []const u8,
deps: ?[]const Pkg = null,
}) App {
const exe = b.addExecutable(options.name, "src/entry_native.zig");
const exe = b.addExecutable(options.name, "src/native.zig");
exe.addPackage(.{
.name = "app",
.path = .{ .path = options.src },