Skip to content

Commit f4ba6eb

Browse files
committed
remove prohibition of using module with modern zig
1 parent 2e7c24d commit f4ba6eb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

build.zig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ const ResolvedTarget =
2020
if (@hasDecl(std.Build, "ResolvedTarget")) std.Build.ResolvedTarget else std.zig.CrossTarget;
2121

2222
pub fn module(b: *std.Build, options: Options) *std.Build.Module {
23-
if (!has_path) @panic("Use build.zig.zon package management");
24-
2523
const dirname = comptime std.fs.path.dirname(@src().file) orelse ".";
2624
const build_options = b.addOptions();
2725
build_options.addOption(?bool, "showdown", options.showdown);

0 commit comments

Comments
 (0)