std.os.linux.AUDIT.ARCH
needs to be rewritten
#20743
Labels
Milestone
std.os.linux.AUDIT.ARCH
needs to be rewritten
#20743
zig/lib/std/os/linux.zig
Lines 7271 to 7331 in eac7fd4
There are two problems with this code:
std.Target.Cpu.Arch
mapped tostd.elf.EM
is too clever. There is not a 1:1 mapping here; it would at least need to take anstd.Target.Abi
too. But really, just usestd.elf.EM
.current
is broken for cases where the ABI affects the decision. It's also missing some architectures.The text was updated successfully, but these errors were encountered: