mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 23:22:44 +00:00
std.zig.system.darwin.macos: Enable Apple M4 CPU detection.
This commit is contained in:
parent
a99c883cf0
commit
9b60aa0adc
@ -423,7 +423,7 @@ pub fn detectNativeCpuAndFeatures() ?Target.Cpu {
|
|||||||
.ARM_IBIZA => &Target.aarch64.cpu.apple_m3, // base
|
.ARM_IBIZA => &Target.aarch64.cpu.apple_m3, // base
|
||||||
.ARM_LOBOS => &Target.aarch64.cpu.apple_m3, // pro
|
.ARM_LOBOS => &Target.aarch64.cpu.apple_m3, // pro
|
||||||
.ARM_PALMA => &Target.aarch64.cpu.apple_m3, // max
|
.ARM_PALMA => &Target.aarch64.cpu.apple_m3, // max
|
||||||
// .ARM_DONAN => &Target.aarch64.cpu.apple_m4, // decl not available until llvm 19
|
.ARM_DONAN => &Target.aarch64.cpu.apple_m4,
|
||||||
};
|
};
|
||||||
|
|
||||||
return Target.Cpu{
|
return Target.Cpu{
|
||||||
|
Loading…
Reference in New Issue
Block a user