mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
e5c75479c2
* 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. |
||
---|---|---|
.. | ||
behavior | ||
c_abi | ||
c_import | ||
cases | ||
incremental | ||
link | ||
src | ||
standalone | ||
assemble_and_link.zig | ||
behavior.zig | ||
c_import.zig | ||
cases.zig | ||
compare_output.zig | ||
compile_errors.zig | ||
gen_h.zig | ||
llvm_targets.zig | ||
nvptx.zig | ||
run_translated_c.zig | ||
stack_traces.zig | ||
tests.zig | ||
translate_c.zig |