mirror of
https://github.com/ziglang/zig.git
synced 2024-12-04 02:48:50 +00:00
c9e67e71c1
The old isARM() function was a portability trap. With the name it had, it seemed like the obviously correct function to use, but it didn't include Thumb. In the vast majority of cases where someone wants to ask "is the target Arm?", Thumb *should* be included. There are exactly 3 cases in the codebase where we do actually need to exclude Thumb, although one of those is in Aro and mirrors a check in Clang that is itself likely a bug. These rare cases can just add an extra isThumb() check. |
||
---|---|---|
.. | ||
aro | ||
aro_translate_c | ||
reduce | ||
resinator | ||
aro_translate_c.zig | ||
build_runner.zig | ||
fmt.zig | ||
libc.zig | ||
objcopy.zig | ||
reduce.zig | ||
std-docs.zig | ||
test_runner.zig |