diff options
| author | Carl Åstholm <carl@astholm.se> | 2025-03-23 14:14:42 +0100 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-03-24 07:04:33 +0100 |
| commit | 777215d78bd49597dc0b369c8b71765a0e5d338c (patch) | |
| tree | 0b2278b712dc84ebeed4367448131c89545ae3e6 /lib/std/multi_array_list.zig | |
| parent | 26fdb81c16760b5aabbd1905ef96cefdf596fc3d (diff) | |
| download | zig-777215d78bd49597dc0b369c8b71765a0e5d338c.tar.gz zig-777215d78bd49597dc0b369c8b71765a0e5d338c.zip | |
Use `-unknown` when converting WASI/Emscripten target triples into LLVM triples
The "musl" part of the Zig target triples `wasm32-wasi-musl` and
`wasm32-emscripten-musl` refers to the libc, not really the ABI.
For WASM, most LLVM-based tooling uses `wasm32-wasi`, which is
normalized into `wasm32-unknown-wasi`, with an implicit `-unknown` and
without `-musl`.
Similarly, Emscripten uses `wasm32-unknown-emscripten` without `-musl`.
By using `-unknown` instead of `-musl` we get better compatibility with
external tooling.
Diffstat (limited to 'lib/std/multi_array_list.zig')
0 files changed, 0 insertions, 0 deletions
