aboutsummaryrefslogtreecommitdiff
path: root/src/test.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2022-09-09 13:08:58 +0200
committerGitHub <noreply@github.com>2022-09-09 13:08:58 +0200
commit56b96cd61b0bdb7f5b11a5283fe6dd5b585ef10e (patch)
treea19765f949fd7ce1d1d6fdbcf684a812d30e634a /src/test.zig
parenta833bdcd7e6fcfee6e9cc33a3f7de78b16a36941 (diff)
parent5006fb6846ccaa7edb1547588cf1aa08c8decf2b (diff)
downloadzig-56b96cd61b0bdb7f5b11a5283fe6dd5b585ef10e.tar.gz
zig-56b96cd61b0bdb7f5b11a5283fe6dd5b585ef10e.zip
Merge pull request #12772 from ziglang/coff-basic-imports
coff: implement enough of the incremental linker to pass behavior and incremental tests on Windows
Diffstat (limited to 'src/test.zig')
-rw-r--r--src/test.zig8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test.zig b/src/test.zig
index babded13f9..e824b59066 100644
--- a/src/test.zig
+++ b/src/test.zig
@@ -177,6 +177,8 @@ const TestManifestConfigDefaults = struct {
inline for (&[_][]const u8{ "x86_64", "aarch64" }) |arch| {
defaults = defaults ++ arch ++ "-macos" ++ ",";
}
+ // Windows
+ defaults = defaults ++ "x86_64-windows" ++ ",";
// Wasm
defaults = defaults ++ "wasm32-wasi";
return defaults;
@@ -1546,6 +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: 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,
+ },
});
defer comp.destroy();