diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2024-08-19 13:25:08 +0200 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2024-08-23 19:56:24 +0200 |
| commit | a69f55a7cc3980f4d4dfcce6cb9d21a597975c7f (patch) | |
| tree | a3ec23392b88a7d9e9a2fa9cb99f21d5c2cc6b9f /src/Compilation/Config.zig | |
| parent | 3fb6e46f6e4231b9569193a15a4357a2ae11fb0f (diff) | |
| download | zig-a69f55a7cc3980f4d4dfcce6cb9d21a597975c7f.tar.gz zig-a69f55a7cc3980f4d4dfcce6cb9d21a597975c7f.zip | |
std.{coff,elf}: Remove the {MachineType,EM}.toTargetCpuArch() functions.
These are fundamentally incapable of producing accurate information for reasons
I've laid out in #20771. Since our only use of these functions is to check that
object files have the correct machine type, and since #21020 made
`std.Target.to{Coff,Elf}Machine()` more accurate, just switch these checks over
to that and compare the machine type tags instead.
Closes #20771.
Diffstat (limited to 'src/Compilation/Config.zig')
0 files changed, 0 insertions, 0 deletions
