mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-07 14:24:43 +00:00
fix regressed build system unit test
This commit is contained in:
parent
f74a856d84
commit
43a949ee95
1 changed files with 3 additions and 0 deletions
|
|
@ -514,6 +514,7 @@ test Options {
|
||||||
.result = try std.zig.system.resolveTargetQuery(.{}),
|
.result = try std.zig.system.resolveTargetQuery(.{}),
|
||||||
},
|
},
|
||||||
.zig_lib_directory = std.Build.Cache.Directory.cwd(),
|
.zig_lib_directory = std.Build.Cache.Directory.cwd(),
|
||||||
|
.root_builder = undefined,
|
||||||
};
|
};
|
||||||
|
|
||||||
var builder = try std.Build.create(
|
var builder = try std.Build.create(
|
||||||
|
|
@ -523,6 +524,8 @@ test Options {
|
||||||
&.{},
|
&.{},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
graph.root_builder = builder;
|
||||||
|
|
||||||
const options = builder.addOptions();
|
const options = builder.addOptions();
|
||||||
|
|
||||||
const KeywordEnum = enum {
|
const KeywordEnum = enum {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue