Skip to content

Commit

Permalink
deps.zig- .dirs no longer needs to pub
Browse files Browse the repository at this point in the history
  • Loading branch information
nektro committed Jul 11, 2021
1 parent 5a5394b commit faf6190
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deps.zig
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub const Package = struct {
system_libs: []const string = &.{},
};

pub const dirs = struct {
const dirs = struct {
pub const _89ujp8gq842x = cache ++ "/../..";
pub const _8mdbh0zuneb0 = cache ++ "/v/git/github.com/yaml/libyaml/tag-0.2.5";
pub const _s84v9o48ucb0 = cache ++ "/git/github.com/nektro/zig-ansi";
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/fetch.zig
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ pub fn create_depszig(dir: []const u8, top_module: u.Module, list: *std.ArrayLis
\\
});

try w.writeAll("pub const dirs = struct {\n");
try w.writeAll("const dirs = struct {\n");
try print_dirs(w, list.items);
try w.writeAll("};\n\n");

Expand Down

0 comments on commit faf6190

Please sign in to comment.