From 38b51c768bdc4322eec7ead8a28a88954b95169a Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Fri, 23 Aug 2024 12:16:30 -0700 Subject: [PATCH] reformat test targets --- build.zig | 40 ++++++++-------------------------------- 1 file changed, 8 insertions(+), 32 deletions(-) diff --git a/build.zig b/build.zig index 53b1a5f..48bc7dd 100644 --- a/build.zig +++ b/build.zig @@ -6,42 +6,18 @@ const models_subdir = "codegen/sdk-codegen/aws-models/"; // note will probably n const test_targets = [_]std.Target.Query{ .{}, // native - .{ - .cpu_arch = .x86_64, - .os_tag = .linux, - }, - .{ - .cpu_arch = .aarch64, - .os_tag = .linux, - }, + .{ .cpu_arch = .x86_64, .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 // 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 // Zig tracker: https://github.com/ziglang/zig/issues/18872 - // .{ - // .cpu_arch = .riscv64, - // .os_tag = .linux, - // }, - .{ - .cpu_arch = .arm, - .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, - // }, + // .{ .cpu_arch = .riscv64, .os_tag = .linux }, + .{ .cpu_arch = .arm, .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 {