zig/lib/std/debug
Alex Rønne Petersen 481b7bf3f0
std.Target: Remove functions that just wrap component functions.
Functions like isMinGW() and isGnuLibC() have a good reason to exist: They look
at multiple components of the target. But functions like isWasm(), isDarwin(),
isGnu(), etc only exist to save 4-8 characters. I don't think this is a good
enough reason to keep them, especially given that:

* It's not immediately obvious to a reader whether target.isDarwin() means the
  same thing as target.os.tag.isDarwin() precisely because isMinGW() and similar
  functions *do* look at multiple components.
* It's not clear where we would draw the line. The logical conclusion before
  this commit would be to also wrap Arch.isX86(), Os.Tag.isSolarish(),
  Abi.isOpenHarmony(), etc... this obviously quickly gets out of hand.
* It's nice to just have a single correct way of doing something.
2025-02-17 19:18:19 +01:00
..
Dwarf std.Target: Remove Cpu.Arch.spu_2. 2025-02-17 19:17:55 +01:00
Coverage.zig std: Restore conventional compareFn behavior for binarySearch 2024-09-16 14:04:18 -07:00
Dwarf.zig adjust runtime page size APIs 2025-02-06 14:23:23 -08:00
FixedBufferReader.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
Info.zig runtime page size detection 2025-02-06 14:23:23 -08:00
MemoryAccessor.zig adjust runtime page size APIs 2025-02-06 14:23:23 -08:00
no_panic.zig std: remove old declarations now a zig1 update has happened 2025-01-24 22:33:23 +00:00
Pdb.zig std.pdb: obey naming conventions 2024-08-29 23:43:52 +01:00
SelfInfo.zig std.Target: Remove functions that just wrap component functions. 2025-02-17 19:18:19 +01:00
simple_panic.zig std: remove old declarations now a zig1 update has happened 2025-01-24 22:33:23 +00:00