diff --git a/test/tests.zig b/test/tests.zig index 4465c13612..03fb566f0b 100644 --- a/test/tests.zig +++ b/test/tests.zig @@ -1232,6 +1232,213 @@ const test_targets = blk: { }, }, + // NetBSD Targets + + .{ + .target = .{ + .cpu_arch = .aarch64, + .os_tag = .netbsd, + // Remove this when we bump our baseline to 10.1.0. + .os_version_min = .{ .semver = .{ + .major = 10, + .minor = 1, + .patch = 0, + } }, + .abi = .none, + }, + .link_libc = true, + }, + + .{ + .target = .{ + .cpu_arch = .aarch64_be, + .os_tag = .netbsd, + // Remove this when we bump our baseline to 10.1.0. + .os_version_min = .{ .semver = .{ + .major = 10, + .minor = 1, + .patch = 0, + } }, + .abi = .none, + }, + .link_libc = true, + }, + + .{ + .target = .{ + .cpu_arch = .arm, + .os_tag = .netbsd, + // Remove this when we bump our baseline to 10.1.0. + .os_version_min = .{ .semver = .{ + .major = 10, + .minor = 1, + .patch = 0, + } }, + .abi = .eabi, + }, + .link_libc = true, + }, + .{ + .target = .{ + .cpu_arch = .arm, + .os_tag = .netbsd, + // Remove this when we bump our baseline to 10.1.0. + .os_version_min = .{ .semver = .{ + .major = 10, + .minor = 1, + .patch = 0, + } }, + .abi = .eabihf, + }, + .link_libc = true, + }, + + .{ + .target = .{ + .cpu_arch = .armeb, + .os_tag = .netbsd, + // Remove this when we bump our baseline to 10.1.0. + .os_version_min = .{ .semver = .{ + .major = 10, + .minor = 1, + .patch = 0, + } }, + .abi = .eabi, + }, + .link_libc = true, + }, + .{ + .target = .{ + .cpu_arch = .armeb, + .os_tag = .netbsd, + // Remove this when we bump our baseline to 10.1.0. + .os_version_min = .{ .semver = .{ + .major = 10, + .minor = 1, + .patch = 0, + } }, + .abi = .eabihf, + }, + .link_libc = true, + }, + + .{ + .target = .{ + .cpu_arch = .mips, + .os_tag = .netbsd, + // Remove this when we bump our baseline to 10.1.0. + .os_version_min = .{ .semver = .{ + .major = 10, + .minor = 1, + .patch = 0, + } }, + .abi = .eabi, + }, + .link_libc = true, + }, + .{ + .target = .{ + .cpu_arch = .mips, + .os_tag = .netbsd, + // Remove this when we bump our baseline to 10.1.0. + .os_version_min = .{ .semver = .{ + .major = 10, + .minor = 1, + .patch = 0, + } }, + .abi = .eabihf, + }, + .link_libc = true, + }, + + .{ + .target = .{ + .cpu_arch = .mipsel, + .os_tag = .netbsd, + // Remove this when we bump our baseline to 10.1.0. + .os_version_min = .{ .semver = .{ + .major = 10, + .minor = 1, + .patch = 0, + } }, + .abi = .eabi, + }, + .link_libc = true, + }, + .{ + .target = .{ + .cpu_arch = .mipsel, + .os_tag = .netbsd, + // Remove this when we bump our baseline to 10.1.0. + .os_version_min = .{ .semver = .{ + .major = 10, + .minor = 1, + .patch = 0, + } }, + .abi = .eabihf, + }, + .link_libc = true, + }, + + .{ + .target = .{ + .cpu_arch = .powerpc, + .os_tag = .netbsd, + // Remove this when we bump our baseline to 10.1.0. + .os_version_min = .{ .semver = .{ + .major = 10, + .minor = 1, + .patch = 0, + } }, + .abi = .eabi, + }, + .link_libc = true, + }, + .{ + .target = .{ + .cpu_arch = .powerpc, + .os_tag = .netbsd, + // Remove this when we bump our baseline to 10.1.0. + .os_version_min = .{ .semver = .{ + .major = 10, + .minor = 1, + .patch = 0, + } }, + .abi = .eabihf, + }, + .link_libc = true, + }, + + .{ + .target = .{ + .cpu_arch = .x86, + .os_tag = .netbsd, + // Remove this when we bump our baseline to 10.1.0. + .os_version_min = .{ .semver = .{ + .major = 10, + .minor = 1, + .patch = 0, + } }, + .abi = .none, + }, + .link_libc = true, + }, + + .{ + .target = .{ + .cpu_arch = .x86_64, + .os_tag = .netbsd, + // Remove this when we bump our baseline to 10.1.0. + .os_version_min = .{ .semver = .{ + .major = 10, + .minor = 1, + .patch = 0, + } }, + .abi = .none, + }, + .link_libc = true, + }, + // SPIR-V Targets .{