reformat test targets

This commit is contained in:
Emil Lerch 2024-08-23 12:16:30 -07:00
parent 86877ca264
commit 38b51c768b
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -6,42 +6,18 @@ const models_subdir = "codegen/sdk-codegen/aws-models/"; // note will probably n
const test_targets = [_]std.Target.Query{ const test_targets = [_]std.Target.Query{
.{}, // native .{}, // native
.{ .{ .cpu_arch = .x86_64, .os_tag = .linux },
.cpu_arch = .x86_64, .{ .cpu_arch = .aarch64, .os_tag = .linux },
.os_tag = .linux,
},
.{
.cpu_arch = .aarch64,
.os_tag = .linux,
},
// The test executable linking process just spins forever in LLVM using nominated zig 0.13 May 2024 // The test executable linking process just spins forever in LLVM using nominated zig 0.13 May 2024
// This is likely a LLVM problem unlikely to be fixed in zig 0.13 // This is likely a LLVM problem unlikely to be fixed in zig 0.13
// Potentially this issue: https://github.com/llvm/llvm-project/issues/81440 // Potentially this issue: https://github.com/llvm/llvm-project/issues/81440
// Zig tracker: https://github.com/ziglang/zig/issues/18872 // Zig tracker: https://github.com/ziglang/zig/issues/18872
// .{ // .{ .cpu_arch = .riscv64, .os_tag = .linux },
// .cpu_arch = .riscv64, .{ .cpu_arch = .arm, .os_tag = .linux },
// .os_tag = .linux, .{ .cpu_arch = .x86_64, .os_tag = .windows },
// }, .{ .cpu_arch = .aarch64, .os_tag = .macos },
.{ .{ .cpu_arch = .x86_64, .os_tag = .macos },
.cpu_arch = .arm, .{ .cpu_arch = .wasm32, .os_tag = .wasi },
.os_tag = .linux,
},
.{
.cpu_arch = .x86_64,
.os_tag = .windows,
},
.{
.cpu_arch = .aarch64,
.os_tag = .macos,
},
.{
.cpu_arch = .x86_64,
.os_tag = .macos,
},
// .{
// .cpu_arch = .wasm32,
// .os_tag = .wasi,
// },
}; };
pub fn build(b: *Builder) !void { pub fn build(b: *Builder) !void {