mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
std.Build.OptionsStep: update test case
This commit is contained in:
parent
5c1f7288d9
commit
e9c7e539e4
@ -283,13 +283,19 @@ test "OptionsStep" {
|
||||
|
||||
const host = try std.zig.system.NativeTargetInfo.detect(.{});
|
||||
|
||||
var cache: std.Build.Cache = .{
|
||||
.gpa = arena.allocator(),
|
||||
.manifest_dir = std.fs.cwd(),
|
||||
};
|
||||
|
||||
var builder = try std.Build.create(
|
||||
arena.allocator(),
|
||||
"test",
|
||||
"test",
|
||||
"test",
|
||||
"test",
|
||||
.{ .path = "test", .handle = std.fs.cwd() },
|
||||
.{ .path = "test", .handle = std.fs.cwd() },
|
||||
.{ .path = "test", .handle = std.fs.cwd() },
|
||||
host,
|
||||
&cache,
|
||||
);
|
||||
defer builder.destroy();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user