zig/lib/std
Alex Rønne Petersen d1d95294fd std.Target.Cpu.Arch: Remove the aarch64_32 tag.
This is a misfeature that we inherited from LLVM:

* https://reviews.llvm.org/D61259
* https://reviews.llvm.org/D61939

(`aarch64_32` and `arm64_32` are equivalent.)

I truly have no idea why this triple passed review in LLVM. It is, to date, the
*only* tag in the architecture component that is not, in fact, an architecture.
In reality, it is just an ILP32 ABI for AArch64 (*not* AArch32).

The triples that use `aarch64_32` look like `aarch64_32-apple-watchos`. Yes,
that triple is exactly what you think; it has no ABI component. They really,
seriously did this.

Since only Apple could come up with silliness like this, it should come as no
surprise that no one else uses `aarch64_32`. Later on, a GNU ILP32 ABI for
AArch64 was developed, and support was added to LLVM:

* https://reviews.llvm.org/D94143
* https://reviews.llvm.org/D104931

Here, sanity seems to have prevailed, and a triple using this ABI looks like
`aarch64-linux-gnu_ilp32` as you would expect.

As can be seen from the diffs in this commit, there was plenty of confusion
throughout the Zig codebase about what exactly `aarch64_32` was. So let's just
remove it. In its place, we'll use `aarch64-watchos-ilp32`,
`aarch64-linux-gnuilp32`, and so on. We'll then translate these appropriately
when talking to LLVM. Hence, this commit adds the `ilp32` ABI tag (we already
have `gnuilp32`).
2024-07-28 19:44:52 -07:00
..
Build add --debug-rt CLI arg to the compiler + bonus edits 2024-07-25 18:52:21 -07:00
c std.Target: Remove kfreebsd OS specifier. 2024-07-20 05:08:14 +02:00
compress std: fix typos (#20560) 2024-07-09 14:25:42 -07:00
crypto Fix compilation issues in crypto.bccrypt and poly1305 (#20756) 2024-07-23 19:45:24 +00:00
dwarf dwarf: use StackIterator.MemoryAccessor to check memory accesses instead of isValidMemory 2024-07-10 10:46:35 -04:00
fmt std.fmt.formatFloat: skip f80 round-trip tests on x86_64 windows 2024-07-14 11:19:34 +12:00
fs fix regression of flock being called on wasi targets 2024-07-19 11:35:22 -07:00
hash std: fix typos (#20560) 2024-07-09 14:25:42 -07:00
heap riscv: workarounds for riscv threading 2024-07-26 14:53:50 -07:00
http std.posix.iovec: use .base and .len instead of .iov_base and .iov_len 2024-04-28 00:20:30 -07:00
io implement std.testing.fuzzInput 2024-07-25 18:52:20 -07:00
json Add std.json.ParseOptions.parse_numbers to preserve float precision (#20744) 2024-07-25 20:55:06 -04:00
math add std.testing.random_seed 2024-07-23 11:43:12 -07:00
mem
meta
net
os feat(std.os.uefi.protocol): add Serial IO 2024-07-28 12:37:53 +00:00
posix std.posix: Consider invalid signal numbers to sigaction() to be programmer error. 2024-07-21 22:38:09 +02:00
process Allow setting PGID in std.process.Child.spawn 2024-07-22 11:50:00 +09:00
Random add std.testing.random_seed 2024-07-23 11:43:12 -07:00
sort std: fix typos (#20560) 2024-07-09 14:25:42 -07:00
tar std: fix typos (#20560) 2024-07-09 14:25:42 -07:00
Target std: fix typos (#20560) 2024-07-09 14:25:42 -07:00
testing
Thread std.c reorganization 2024-07-19 00:30:32 -07:00
time
tz
unicode
valgrind std: fix typos (#20560) 2024-07-09 14:25:42 -07:00
zig std.Target.Cpu.Arch: Remove the aarch64_32 tag. 2024-07-28 19:44:52 -07:00
zip std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
array_hash_map.zig docs: ArrayHashMap: warn against the shrink footgun 2024-07-26 15:24:25 -07:00
array_list.zig std.ArrayList.unusedCapacitySlice: Return unaligned slice (#20490) 2024-07-14 00:56:29 +00:00
ascii.zig Rename isASCII to isAscii 2024-07-02 16:31:15 +02:00
atomic.zig std.Target.Cpu.Arch: Remove the aarch64_32 tag. 2024-07-28 19:44:52 -07:00
base64.zig
bit_set.zig
BitStack.zig std: fix typos (#20560) 2024-07-09 14:25:42 -07:00
bounded_array.zig Implement addManyAsSlice for BoundedArray 2024-05-21 13:46:05 +03:00
buf_map.zig
buf_set.zig
Build.zig add --debug-rt CLI arg to the compiler + bonus edits 2024-07-25 18:52:21 -07:00
builtin.zig riscv: implement ptr_slice_ptr_ptr 2024-07-26 04:05:40 -07:00
c.zig std.Target.Cpu.Arch: Remove the aarch64_32 tag. 2024-07-28 19:44:52 -07:00
coff.zig std.coff: Add missing entries to MachineType. 2024-07-24 15:02:55 -07:00
compress.zig
crypto.zig
debug.zig Replace some dynamic functions with static ones. 2024-07-24 01:04:38 -07:00
dwarf.zig dwarf: use StackIterator.MemoryAccessor to check memory accesses instead of isValidMemory 2024-07-10 10:46:35 -04:00
dynamic_library.zig std.c reorganization 2024-07-19 00:30:32 -07:00
elf.zig std.elf: Add Elf32_Relr and Elf64_Relr definitions. 2024-07-26 00:40:41 +02:00
enums.zig EnumMap: fix init 2024-05-26 16:13:54 -04:00
fifo.zig
fmt.zig fix std.fmt.hex 2024-07-20 01:06:29 -07:00
fs.zig std.fs.Dir: Rename OpenDirOptions to OpenOptions (#20542) 2024-07-09 13:36:38 -07:00
gpu.zig
hash.zig
hash_map.zig add std.testing.random_seed 2024-07-23 11:43:12 -07:00
heap.zig std.c reorganization 2024-07-19 00:30:32 -07:00
http.zig std: avoid references that trigger compile errors 2024-07-04 21:01:42 +01:00
io.zig Better implementation of GetLastError. (#20623) 2024-07-15 10:49:51 -07:00
json.zig Delete compile errors for deprecated decls 2024-05-03 13:27:30 -07:00
leb128.zig Rename *[UI]LEB128 functions to *[UI]leb128 2024-06-23 04:30:12 +01:00
linked_list.zig
log.zig update the codebase for the new std.Progress API 2024-05-27 20:56:48 -07:00
macho.zig The Mach-O header flags gained two new members at some point, and these are missing in the Zig std library. This PR adds these. 2024-04-18 20:08:03 -07:00
math.zig aarch64: reenable tests that are no longer regressed 2024-07-25 20:23:23 +03:00
mem.zig std.mem: delete workaround now that zig1.wasm is updated 2024-07-22 14:26:17 -07:00
meta.zig std: fix typos (#20560) 2024-07-09 14:25:42 -07:00
multi_array_list.zig InternPool: implement and use thread-safe list for strings 2024-07-07 22:59:52 -04:00
net.zig std.c reorganization 2024-07-19 00:30:32 -07:00
once.zig std: improve std.once tests 2024-04-15 15:24:30 -07:00
os.zig std.c reorganization 2024-07-19 00:30:32 -07:00
packed_int_array.zig compiler: un-implement #19634 2024-04-17 13:41:25 +01:00
pdb.zig
posix.zig Merge pull request #20706 from alexrp/sigaction-nosys 2024-07-23 11:49:43 -07:00
priority_dequeue.zig add std.testing.random_seed 2024-07-23 11:43:12 -07:00
priority_queue.zig std: fix typos (#20560) 2024-07-09 14:25:42 -07:00
process.zig move std.zig.fatal to std.process.fatal 2024-07-20 01:06:28 -07:00
Progress.zig std.posix: Consider invalid signal numbers to sigaction() to be programmer error. 2024-07-21 22:38:09 +02:00
Random.zig std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
RingBuffer.zig
segmented_list.zig
SemanticVersion.zig
simd.zig aarch64: reenable tests that are no longer regressed 2024-07-25 20:23:23 +03:00
sort.zig add std.testing.random_seed 2024-07-23 11:43:12 -07:00
start.zig riscv: implement lr/sr loop logic for non-native atomics 2024-07-26 04:19:57 -07:00
start_windows_tls.zig
static_string_map.zig std.static_string_map: Cast length of input for runtime initialization 2024-06-20 23:22:39 +00:00
std.zig std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
tar.zig std: fix typos (#20560) 2024-07-09 14:25:42 -07:00
Target.zig std.Target.Cpu.Arch: Remove the aarch64_32 tag. 2024-07-28 19:44:52 -07:00
testing.zig implement std.testing.fuzzInput 2024-07-25 18:52:20 -07:00
Thread.zig std.Target.Cpu.Arch: Remove the aarch64_32 tag. 2024-07-28 19:44:52 -07:00
time.zig std.c reorganization 2024-07-19 00:30:32 -07:00
treap.zig
tz.zig
unicode.zig ArgIteratorWindows: Reduce allocated memory by parsing the WTF-16 string directly 2024-07-13 14:48:17 -07:00
Uri.zig std.http.Client: always omit port when it matches default 2024-04-12 22:37:07 -07:00
valgrind.zig Rename nonSIMDCall* to nonSimdCall* 2024-07-03 19:00:17 +01:00
wasm.zig
zig.zig move std.zig.fatal to std.process.fatal 2024-07-20 01:06:28 -07:00
zip.zig std.zip: Fix typo in doc comments 2024-06-17 16:12:19 -04:00