| ... | ... | @@ -63,7 +63,10 @@ pub const SelfInfo = if (@hasDecl(root, "debug") and @hasDecl(root.debug, "SelfI |
| 63 | 63 | root.debug.SelfInfo |
| 64 | 64 | else switch (std.Target.ObjectFormat.default(native_os, native_arch)) { |
| 65 | 65 | .coff => if (native_os == .windows) @import("debug/SelfInfo/Windows.zig") else void, |
| 66 | | .elf => @import("debug/SelfInfo/Elf.zig"), |
| 66 | .elf => switch (native_os) { |
| 67 | .freestanding, .other => void, |
| 68 | else => @import("debug/SelfInfo/Elf.zig"), |
| 69 | }, |
| 67 | 70 | .macho => @import("debug/SelfInfo/MachO.zig"), |
| 68 | 71 | .goff, .plan9, .spirv, .wasm, .xcoff => void, |
| 69 | 72 | .c, .hex, .raw => unreachable, |