diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2025-03-10 07:36:38 +0100 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-04-04 06:08:10 +0200 |
| commit | 15a05fc32474daa33b642f47d5a11a7b93e26c07 (patch) | |
| tree | 7c2630f9849975d896ab7cd5a2b701aada313eda /src/target.zig | |
| parent | 9e4199d629b08318e9183312fba4531929f8b57b (diff) | |
| download | zig-15a05fc32474daa33b642f47d5a11a7b93e26c07.tar.gz zig-15a05fc32474daa33b642f47d5a11a7b93e26c07.zip | |
Revert "compiler: Don't consider powerpc to have red zone support yet."
This reverts commit 4fad60fd3a70d0b059ce92ce825faabc1d2ac2e8.
Closes #23056.
Diffstat (limited to 'src/target.zig')
| -rw-r--r-- | src/target.zig | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/target.zig b/src/target.zig index 287b1f6c06..1d8ecab3a6 100644 --- a/src/target.zig +++ b/src/target.zig @@ -317,8 +317,12 @@ pub fn hasRedZone(target: std.Target) bool { return switch (target.cpu.arch) { .aarch64, .aarch64_be, - .x86, + .powerpc, + .powerpcle, + .powerpc64, + .powerpc64le, .x86_64, + .x86, => true, else => false, |
