mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
compiler: Don't consider powerpc to have red zone support yet.
The command line flag is only supported in Clang 20: https://github.com/ziglang/zig/issues/23056 This gets rid of some warnings when using zig cc.
This commit is contained in:
parent
6d29ef0baf
commit
4fad60fd3a
1 changed files with 1 additions and 5 deletions
|
|
@ -306,12 +306,8 @@ pub fn hasRedZone(target: std.Target) bool {
|
|||
return switch (target.cpu.arch) {
|
||||
.aarch64,
|
||||
.aarch64_be,
|
||||
.powerpc,
|
||||
.powerpcle,
|
||||
.powerpc64,
|
||||
.powerpc64le,
|
||||
.x86_64,
|
||||
.x86,
|
||||
.x86_64,
|
||||
=> true,
|
||||
|
||||
else => false,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue