Commit 4fad60fd3a

Alex Rønne Petersen <alex@alexrp.com>
2025-03-03 14:05:42
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.
1 parent 6d29ef0
Changed files (1)
src/target.zig
@@ -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,