windows_spawn standalone test: test on native OS

In master branch this test tests native Windows. In this branch, I
accidentally made aarch64-windows test x86_64-windows which caused some
subtle behavior that we aren't ready to add test coverage for yet.
This commit is contained in:
Andrew Kelley 2023-03-14 20:24:46 -07:00
parent a1058dd27b
commit 1a70ea0576

View File

@ -6,10 +6,9 @@ pub fn build(b: *std.Build) void {
b.default_step = test_step;
const optimize: std.builtin.OptimizeMode = .Debug;
const target: std.zig.CrossTarget = .{
.os_tag = .windows,
.cpu_arch = .x86_64,
};
const target: std.zig.CrossTarget = .{};
if (builtin.os.tag != .windows) return;
const hello = b.addExecutable(.{
.name = "hello",