zig/lib/std/os
Alex Rønne Petersen e5c75479c2
std.Target: Rework isPPC()/isPPC64() functions.
* Rename isPPC() -> isPowerPC32().
* Rename isPPC64() -> isPowerPC64().
* Add new isPowerPC() function which covers both.

There was confusion even in the standard library about what isPPC() meant. This
change makes these functions work how I think most people actually expect them
to work, and makes them consistent with isMIPS(), isSPARC(), etc.

I chose to rename from PPC to PowerPC because 1) it's more consistent with the
other functions, and 2) it'll cause loud rather than silent breakage for anyone
who might have been depending on isPPC() while misunderstanding it.
2024-08-01 20:58:05 +02:00
..
linux Merge pull request #20870 from alexrp/target-cleanup-3 2024-08-01 01:32:32 -07:00
plan9 extract std.posix from std.os 2024-03-19 11:45:09 -07:00
uefi chore: correct non-standard comments. 2024-07-28 21:34:14 -07:00
windows Fix compile error due to GetModuleFileNameW binding change 2024-07-29 16:06:36 -07:00
emscripten.zig std.c reorganization 2024-07-19 00:30:32 -07:00
linux.zig std.Target: Rework isPPC()/isPPC64() functions. 2024-08-01 20:58:05 +02:00
plan9.zig std: fix typos (#20560) 2024-07-09 14:25:42 -07:00
uefi.zig os.uefi: add ns to epoch 2023-12-20 20:05:16 -08:00
wasi.zig Do not run asserts for WASI alignment when not targeting WASI 2024-05-11 07:23:07 +00:00
windows.zig Watch.zig: add initial windows implementation 2024-07-27 11:32:43 -04:00