mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:44:43 +01:00
std.zig.system.linux: update API usage
This commit is contained in:
parent
c1c49a7d1c
commit
81b0c99915
1 changed files with 3 additions and 3 deletions
|
|
@ -413,13 +413,13 @@ pub fn detectNativeCpuAndFeatures() ?Target.Cpu {
|
|||
return core;
|
||||
},
|
||||
.sparc64 => {
|
||||
return SparcCpuinfoParser.parse(current_arch, f.reader()) catch null;
|
||||
return SparcCpuinfoParser.parse(current_arch, f.deprecatedReader()) catch null;
|
||||
},
|
||||
.powerpc, .powerpcle, .powerpc64, .powerpc64le => {
|
||||
return PowerpcCpuinfoParser.parse(current_arch, f.reader()) catch null;
|
||||
return PowerpcCpuinfoParser.parse(current_arch, f.deprecatedReader()) catch null;
|
||||
},
|
||||
.riscv64, .riscv32 => {
|
||||
return RiscvCpuinfoParser.parse(current_arch, f.reader()) catch null;
|
||||
return RiscvCpuinfoParser.parse(current_arch, f.deprecatedReader()) catch null;
|
||||
},
|
||||
else => {},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue