diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-04-11 11:54:43 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-11 11:54:43 -0400 |
| commit | d3a237a98c5a2ccf72a774b5f93425c02fea4bea (patch) | |
| tree | b440fbaf013ed472c39a60381928c0224e694f5c /lib/std/Build.zig | |
| parent | 1728d92f60d4e9aa10d878e3235fc63764d3909b (diff) | |
| parent | 3c3cee2cfabc5d03bb83cf6cc6a8ed80f13ee1df (diff) | |
| download | zig-d3a237a98c5a2ccf72a774b5f93425c02fea4bea.tar.gz zig-d3a237a98c5a2ccf72a774b5f93425c02fea4bea.zip | |
Merge pull request #15234 from ziglang/remove-legacy-build-api
remove --enable-cache option; std.Build.CompileStep: remove output_dir
Diffstat (limited to 'lib/std/Build.zig')
| -rw-r--r-- | lib/std/Build.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/std/Build.zig b/lib/std/Build.zig index 5b974bb816..7faa7780b2 100644 --- a/lib/std/Build.zig +++ b/lib/std/Build.zig @@ -539,6 +539,8 @@ pub const TestOptions = struct { optimize: std.builtin.Mode = .Debug, version: ?std.builtin.Version = null, max_rss: usize = 0, + filter: ?[]const u8 = null, + test_runner: ?[]const u8 = null, }; pub fn addTest(b: *Build, options: TestOptions) *CompileStep { @@ -549,6 +551,8 @@ pub fn addTest(b: *Build, options: TestOptions) *CompileStep { .target = options.target, .optimize = options.optimize, .max_rss = options.max_rss, + .filter = options.filter, + .test_runner = options.test_runner, }); } |
