zig/lib/std/Build
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
..
Cache std.Build.Cache.Path: fix single-quote escaping format 2024-10-10 14:21:52 -07:00
Fuzz adjust runtime page size APIs 2025-02-06 14:23:23 -08:00
Step std.Target: Remove functions that just wrap component functions. 2025-02-17 19:18:19 +01:00
Cache.zig std.ArrayHashMap: popOrNul() -> pop() 2025-02-07 17:52:19 -08:00
Fuzz.zig Make -freference-trace work without colors 2025-01-30 13:02:06 +01:00
Module.zig std.Build: Add option to specify language of CSourceFiles 2025-01-30 14:04:47 +01:00
Step.zig std.Build.Cache.hit: work around macOS kernel bug 2024-12-11 11:56:44 -08:00
Watch.zig std.Build.Watch: implement removing watches for kqueue 2024-10-24 23:31:56 -07:00