Skip to content

Commit 43a949e

Browse files
kristoff-itandrewrk
authored andcommitted
fix regressed build system unit test
1 parent f74a856 commit 43a949e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/std/Build/Step/Options.zig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,7 @@ test Options {
514514
.result = try std.zig.system.resolveTargetQuery(.{}),
515515
},
516516
.zig_lib_directory = std.Build.Cache.Directory.cwd(),
517+
.root_builder = undefined,
517518
};
518519

519520
var builder = try std.Build.create(
@@ -523,6 +524,8 @@ test Options {
523524
&.{},
524525
);
525526

527+
graph.root_builder = builder;
528+
526529
const options = builder.addOptions();
527530

528531
const KeywordEnum = enum {

0 commit comments

Comments
 (0)