#simple mmap on mac
1 messages · Page 1 of 1 (latest)
At a glance, you may have to link libc to use those constants on macOS, so if you get an error saying std.os.PROT isn't found or something, try linking libc in your application
1 messages · Page 1 of 1 (latest)
Have you tried using the PROT and MAP directly from os rather than os.linux? Such as std.os.PROT.READ. Since you're on a Mac, the values of those constants will likely be different than they are on Linux
At a glance, you may have to link libc to use those constants on macOS, so if you get an error saying std.os.PROT isn't found or something, try linking libc in your application