fix regressed build system unit test

This commit is contained in:
Loris Cro 2025-02-26 11:33:54 +01:00 committed by Andrew Kelley
parent f74a856d84
commit 43a949ee95

View file

@ -514,6 +514,7 @@ test Options {
.result = try std.zig.system.resolveTargetQuery(.{}),
},
.zig_lib_directory = std.Build.Cache.Directory.cwd(),
.root_builder = undefined,
};
var builder = try std.Build.create(
@ -523,6 +524,8 @@ test Options {
&.{},
);
graph.root_builder = builder;
const options = builder.addOptions();
const KeywordEnum = enum {