| author | |
| committer | |
| log | 7fa719ef077afdc1038cd03e6f52a0e64adf221a |
| tree | 40a3a03695ca21e026bbb41382dce06f3335a179 |
| parent | 29f3d1185cd39daa6b0cbe70ecb05543dbeb6394 |
2 files changed, 18 insertions(+), 16 deletions(-)
test/standalone/shared_library/build.zig+9-8| ... | ... | @@ -38,14 +38,15 @@ pub fn build(b: *std.Build) void { |
| 38 | 38 | lib_use_llvm, |
| 39 | 39 | exe_use_llvm, |
| 40 | 40 | ) |exe_name, lib_name, dyn_libc, lib_llvm, exe_llvm| { |
| 41 | const use_llvm = lib_llvm or exe_llvm; | |
| 42 | if (!use_llvm and target.result.os.tag == .macos) continue; // TODO | |
| 43 | if (!use_llvm and target.result.os.tag == .freebsd) continue; // TODO | |
| 44 | if (!use_llvm and target.result.os.tag == .netbsd) continue; // TODO | |
| 45 | if (!use_llvm and target.result.os.tag == .openbsd) continue; // TODO | |
| 46 | if (!use_llvm and target.result.cpu.arch == .loongarch64) continue; // TODO | |
| 47 | if (!use_llvm and target.result.cpu.arch == .powerpc64le) continue; // TODO | |
| 48 | if (!use_llvm and target.result.cpu.arch == .s390x) continue; // TODO | |
| 41 | const no_llvm = !lib_llvm or !exe_llvm; | |
| 42 | if (no_llvm and target.result.os.tag == .macos) continue; // TODO | |
| 43 | if (no_llvm and target.result.os.tag == .freebsd) continue; // TODO | |
| 44 | if (no_llvm and target.result.os.tag == .netbsd) continue; // TODO | |
| 45 | if (no_llvm and target.result.os.tag == .openbsd) continue; // TODO | |
| 46 | if (no_llvm and target.result.cpu.arch == .aarch64) continue; // TODO | |
| 47 | if (no_llvm and target.result.cpu.arch == .loongarch64) continue; // TODO | |
| 48 | if (no_llvm and target.result.cpu.arch == .powerpc64le) continue; // TODO | |
| 49 | if (no_llvm and target.result.cpu.arch == .s390x) continue; // TODO | |
| 49 | 50 | |
| 50 | 51 | const lib = b.addLibrary(.{ |
| 51 | 52 | .linkage = .dynamic, |
test/standalone/static_c_lib/build.zig+9-8| ... | ... | @@ -38,14 +38,15 @@ pub fn build(b: *std.Build) void { |
| 38 | 38 | lib_use_llvm, |
| 39 | 39 | exe_use_llvm, |
| 40 | 40 | ) |exe_name, lib_name, dyn_libc, lib_llvm, exe_llvm| { |
| 41 | const use_llvm = lib_llvm or exe_llvm; | |
| 42 | if (!use_llvm and target.result.os.tag == .macos) continue; // TODO | |
| 43 | if (!use_llvm and target.result.os.tag == .freebsd) continue; // TODO | |
| 44 | if (!use_llvm and target.result.os.tag == .netbsd) continue; // TODO | |
| 45 | if (!use_llvm and target.result.os.tag == .openbsd) continue; // TODO | |
| 46 | if (!use_llvm and target.result.cpu.arch == .loongarch64) continue; // TODO | |
| 47 | if (!use_llvm and target.result.cpu.arch == .powerpc64le) continue; // TODO | |
| 48 | if (!use_llvm and target.result.cpu.arch == .s390x) continue; // TODO | |
| 41 | const no_llvm = !lib_llvm or !exe_llvm; | |
| 42 | if (no_llvm and target.result.os.tag == .macos) continue; // TODO | |
| 43 | if (no_llvm and target.result.os.tag == .freebsd) continue; // TODO | |
| 44 | if (no_llvm and target.result.os.tag == .netbsd) continue; // TODO | |
| 45 | if (no_llvm and target.result.os.tag == .openbsd) continue; // TODO | |
| 46 | if (no_llvm and target.result.cpu.arch == .aarch64) continue; // TODO | |
| 47 | if (no_llvm and target.result.cpu.arch == .loongarch64) continue; // TODO | |
| 48 | if (no_llvm and target.result.cpu.arch == .powerpc64le) continue; // TODO | |
| 49 | if (no_llvm and target.result.cpu.arch == .s390x) continue; // TODO | |
| 49 | 50 | |
| 50 | 51 | const foo = b.addLibrary(.{ |
| 51 | 52 | .linkage = .static, |