diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-06-05 14:24:00 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-05 14:24:00 -0400 |
| commit | 8f27fdb84e3788bf6ea9ae7c992f3cf667a4f9ed (patch) | |
| tree | 4166501a408f6e7310b9165c5d367a22f76f2c7d /test | |
| parent | 8c04ffba86dd3b09c1fccab91ed42b2ec63b4815 (diff) | |
| parent | c01d8c8b20514add5bb7b7a10ab570d2ae72df4d (diff) | |
| download | zig-8f27fdb84e3788bf6ea9ae7c992f3cf667a4f9ed.tar.gz zig-8f27fdb84e3788bf6ea9ae7c992f3cf667a4f9ed.zip | |
Merge pull request #20120 from vahur/move-consts-to-rdata
mark anondecls as constants in llvm ir
Diffstat (limited to 'test')
| -rw-r--r-- | test/tests.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/tests.zig b/test/tests.zig index c0ef4a536a..dd4d098a0f 100644 --- a/test/tests.zig +++ b/test/tests.zig @@ -984,6 +984,7 @@ const ModuleTestOptions = struct { skip_non_native: bool, skip_libc: bool, max_rss: usize = 0, + no_builtin: bool = false, }; pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step { @@ -1070,6 +1071,7 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step { .pic = test_target.pic, .strip = test_target.strip, }); + if (options.no_builtin) these_tests.no_builtin = true; const single_threaded_suffix = if (test_target.single_threaded == true) "-single" else ""; const backend_suffix = if (test_target.use_llvm == true) "-llvm" |
