| ... | ... | @@ -264,7 +264,12 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 { |
| 264 | 264 | .eabihf => "eabihf", |
| 265 | 265 | .android => "android", |
| 266 | 266 | .androideabi => "androideabi", |
| 267 | | .musl => "musl", |
| 267 | .musl => switch (target.os.tag) { |
| 268 | // For WASI/Emscripten, "musl" refers to the libc, not really the ABI. |
| 269 | // "unknown" provides better compatibility with LLVM-based tooling for these targets. |
| 270 | .wasi, .emscripten => "unknown", |
| 271 | else => "musl", |
| 272 | }, |
| 268 | 273 | .muslabin32 => "musl", // Should be muslabin32 in LLVM 20. |
| 269 | 274 | .muslabi64 => "musl", // Should be muslabi64 in LLVM 20. |
| 270 | 275 | .musleabi => "musleabi", |