mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 23:22:44 +00:00
tests: force LLD off for stage2 backends until auto-select deems worthy
This commit is contained in:
parent
c4d297b1af
commit
0e152b76ac
@ -1548,13 +1548,12 @@ pub const TestContext = struct {
|
||||
.self_exe_path = std.testing.zig_exe_path,
|
||||
// TODO instead of turning off color, pass in a std.Progress.Node
|
||||
.color = .off,
|
||||
// TODO: We set these to no so that we don't fallback to LLD for incremental linking context. This is because
|
||||
// our own COFF linker doesn't yet support these options.
|
||||
.want_unwind_tables = switch (case.backend) {
|
||||
.stage2 => if (target.os.tag == .windows) false else null,
|
||||
// TODO: force self-hosted linkers with stage2 backend to avoid LLD creeping in
|
||||
// until the auto-select mechanism deems them worthy
|
||||
.use_lld = switch (case.backend) {
|
||||
.stage2 => false,
|
||||
else => null,
|
||||
},
|
||||
.emit_implib = null,
|
||||
});
|
||||
defer comp.destroy();
|
||||
|
||||
|
@ -701,13 +701,8 @@ pub fn addPkgTests(
|
||||
else => {
|
||||
these_tests.use_stage1 = false;
|
||||
these_tests.use_llvm = false;
|
||||
|
||||
if (test_target.target.getOsTag() == .windows) {
|
||||
// TODO: We set these to no so that we don't fallback to LLD for incremental linking context. This is because
|
||||
// our own COFF linker doesn't yet support these options.
|
||||
these_tests.emit_implib = .no_emit;
|
||||
these_tests.use_unwind_tables = false;
|
||||
}
|
||||
// TODO: force self-hosted linkers to avoid LLD creeping in until the auto-select mechanism deems them worthy
|
||||
these_tests.use_lld = false;
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user