diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-10-31 20:29:55 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-12-06 12:15:04 -0700 |
| commit | 28514476ef8c824c3d189d98f23d0f8d23e496ea (patch) | |
| tree | 537631080e7c99fb582738d3be96ac48c5941bb7 /test/tests.zig | |
| parent | bf316e550671cc71eb498b3cf799493627bb0fdc (diff) | |
| download | zig-28514476ef8c824c3d189d98f23d0f8d23e496ea.tar.gz zig-28514476ef8c824c3d189d98f23d0f8d23e496ea.zip | |
remove `-fstage1` option
After this commit, the self-hosted compiler does not offer the option to
use stage1 as a backend anymore.
Diffstat (limited to 'test/tests.zig')
| -rw-r--r-- | test/tests.zig | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/test/tests.zig b/test/tests.zig index b738de86b0..0817a541d9 100644 --- a/test/tests.zig +++ b/test/tests.zig @@ -720,20 +720,18 @@ pub fn addPkgTests( these_tests.addIncludePath("test"); if (test_target.backend) |backend| switch (backend) { .stage1 => { - these_tests.use_stage1 = true; + @panic("stage1 testing requested"); }, .stage2_llvm => { - these_tests.use_stage1 = false; these_tests.use_llvm = true; }, .stage2_c => { - these_tests.use_stage1 = false; these_tests.use_llvm = false; }, else => { - these_tests.use_stage1 = false; these_tests.use_llvm = false; - // TODO: force self-hosted linkers to avoid LLD creeping in until the auto-select mechanism deems them worthy + // TODO: force self-hosted linkers to avoid LLD creeping in + // until the auto-select mechanism deems them worthy these_tests.use_lld = false; }, }; @@ -1355,8 +1353,6 @@ pub fn addCAbiTests(b: *build.Builder, skip_non_native: bool) *build.Step { triple_prefix, })); - test_step.use_stage1 = false; - step.dependOn(&test_step.step); } return step; |
