From b8d92b25399c9b877afd5ddb1725f748bf5c0272 Mon Sep 17 00:00:00 2001 From: Nicolas Goy Date: Tue, 2 Aug 2022 04:02:01 +0200 Subject: [PATCH] Make the microzig package public to allow it to be passed as dependency. (#73) --- src/main.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.zig b/src/main.zig index 90b0949..cd26858 100644 --- a/src/main.zig +++ b/src/main.zig @@ -188,13 +188,13 @@ pub fn addEmbeddedExecutable( return exe; } -const pkgs = struct { +pub const pkgs = struct { const mmio = std.build.Pkg{ .name = "microzig-mmio", .source = .{ .path = root_path ++ "core/mmio.zig" }, }; - const microzig = std.build.Pkg{ + pub const microzig = std.build.Pkg{ .name = "microzig", .source = .{ .path = root_path ++ "core/import-package.zig" }, };