zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit aeebb131c858751a2585da4ad92beb76ae7925f1 (tree)
parent 9d8acf973ef8713894bbe5171a431a089c1369f5
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Thu, 29 May 2025 16:26:34 +0200

test: Add NetBSD targets to module test matrix.

Diffstat:
Mtest/tests.zig | 207+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 207 insertions(+), 0 deletions(-)

diff --git 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 .{