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
..
2025-02-17 19:18:19 +01:00
2025-02-17 19:18:19 +01:00
2025-01-22 23:34:57 +09:00
2025-02-17 17:56:09 +00:00
2025-02-17 19:18:19 +01:00
2024-12-19 17:10:03 -05:00
2024-08-28 08:39:59 +01:00
2025-02-17 19:18:19 +01:00
2025-01-16 12:46:29 +00:00
2025-02-17 19:18:19 +01:00
2025-01-27 11:13:56 -08:00
2025-02-06 15:00:48 +01:00
2025-02-13 00:19:03 -08:00
2025-02-17 19:18:19 +01:00
2025-02-06 14:50:20 -08:00
2025-01-16 12:49:58 +00:00
2025-01-26 18:40:34 +01:00
2025-02-13 16:55:58 +01:00
2025-02-09 09:08:11 +01:00
2025-02-03 17:07:27 -08:00
2024-08-27 00:44:35 +01:00
2024-10-04 13:50:25 -07:00
2025-02-17 19:18:19 +01:00
2025-02-06 14:23:23 -08:00
2025-02-17 19:18:19 +01:00
2024-08-15 17:54:27 -07:00
2024-11-04 10:56:32 +01:00
2025-02-17 19:18:19 +01:00
2025-01-17 22:55:55 +01:00
2025-02-03 09:14:37 +00:00
2025-02-12 01:55:26 -08:00
2025-02-13 00:19:03 -08:00
2024-11-29 12:26:23 -08:00
2025-01-12 04:51:00 +01:00
2024-09-04 08:10:12 +00:00
2024-09-19 17:06:23 -07:00
2025-02-09 11:46:15 +00:00
2025-01-26 19:03:33 +01:00
2025-02-17 19:18:19 +01:00
2025-02-17 19:18:19 +01:00
2024-08-23 19:56:24 +02:00
2025-02-05 13:58:15 +01:00
2024-12-11 18:52:43 +01:00
2025-02-17 19:18:19 +01:00
2024-08-22 08:44:08 +02:00
2025-02-06 14:23:23 -08:00
2025-02-17 19:17:55 +01:00
2025-01-16 12:49:58 +00:00
2025-02-06 14:23:23 -08:00
2025-02-12 14:45:38 -08:00
2024-10-17 01:08:58 +02:00
2024-11-01 02:04:27 +03:30
2025-02-06 14:23:23 -08:00
2024-11-24 15:30:52 -08:00
2025-02-17 19:18:19 +01:00
2024-08-07 00:48:32 -07:00
2025-01-16 12:49:58 +00:00
2024-08-28 08:39:59 +01:00
2024-08-28 08:39:59 +01:00
2025-02-12 09:48:17 -05:00
2025-02-15 03:40:55 +01:00
2025-02-04 16:12:10 +00:00
2025-02-13 00:19:03 -08:00
2025-02-16 01:02:33 +01:00
2024-08-27 00:44:35 +01:00
2025-01-16 20:42:08 -05:00
2024-08-29 23:43:52 +01:00
2025-02-17 19:18:19 +01:00
2025-02-01 19:02:39 +01:00
2025-02-06 14:23:23 -08:00
2025-01-16 12:46:29 +00:00
2025-02-03 17:07:28 -08:00
2024-08-28 08:39:59 +01:00
2024-10-31 20:42:53 +00:00
2025-01-16 20:42:08 -05:00
2024-09-23 13:03:06 -07:00
2025-02-06 14:23:23 -08:00
2025-02-06 14:23:23 -08:00
2024-10-04 13:50:25 -07:00
2025-02-17 19:18:19 +01:00
2025-02-16 15:51:40 +01:00
2025-02-17 19:18:19 +01:00
2025-02-13 16:55:58 +01:00
2024-08-21 01:30:46 +01:00
2024-11-04 12:39:48 +01:00
2025-01-15 15:11:36 -08:00
2025-02-06 15:00:48 +01:00
2025-02-06 14:23:23 -08:00
2025-02-03 09:14:37 +00:00