| author | |
| committer | |
| log | d56a99442becc38a74dddd1189530c13e39e9b2a |
| tree | 003e55ab84f4c3df0410382b6f3a5c3f2cfaae02 |
| parent | 0cf5f0d0b085e66eb5421b5bb8a179d9b7fad6db |
| signature |
Only the Mach-O format has this symbol.1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/process.zig+1-1| ... | ... | @@ -1660,7 +1660,7 @@ pub fn getBaseAddress() usize { |
| 1660 | 1660 | const phdr = getauxval(std.elf.AT_PHDR); |
| 1661 | 1661 | return phdr - @sizeOf(std.elf.Ehdr); |
| 1662 | 1662 | }, |
| 1663 | .macos, .freebsd, .netbsd => { | |
| 1663 | .macos => { | |
| 1664 | 1664 | return @intFromPtr(&std.c._mh_execute_header); |
| 1665 | 1665 | }, |
| 1666 | 1666 | .windows => return @intFromPtr(windows.kernel32.GetModuleHandleW(null)), |