os/os2: use proc_pidpath for executable path on darwin

This commit is contained in:
Laytan Laats
2025-01-22 18:40:06 +01:00
parent f1b0b19710
commit d54de6704a
2 changed files with 6 additions and 27 deletions
-7
View File
@@ -1,7 +0,0 @@
package darwin
foreign import system "system:System.framework"
foreign system {
_NSGetExecutablePath :: proc(buf: [^]byte, bufsize: ^u32) -> i32 ---
}