| ... | @@ -283,13 +283,19 @@ test "OptionsStep" { | ... | @@ -283,13 +283,19 @@ test "OptionsStep" { |
| 283 | | 283 | |
| 284 | const host = try std.zig.system.NativeTargetInfo.detect(.{}); | 284 | const host = try std.zig.system.NativeTargetInfo.detect(.{}); |
| 285 | | 285 | |
| | 286 | var cache: std.Build.Cache = .{ |
| | 287 | .gpa = arena.allocator(), |
| | 288 | .manifest_dir = std.fs.cwd(), |
| | 289 | }; |
| | 290 | |
| 286 | var builder = try std.Build.create( | 291 | var builder = try std.Build.create( |
| 287 | arena.allocator(), | 292 | arena.allocator(), |
| 288 | "test", | 293 | "test", |
| 289 | "test", | 294 | .{ .path = "test", .handle = std.fs.cwd() }, |
| 290 | "test", | 295 | .{ .path = "test", .handle = std.fs.cwd() }, |
| 291 | "test", | 296 | .{ .path = "test", .handle = std.fs.cwd() }, |
| 292 | host, | 297 | host, |
| | 298 | &cache, |
| 293 | ); | 299 | ); |
| 294 | defer builder.destroy(); | 300 | defer builder.destroy(); |
| 295 | | 301 | |