comprehensive-rust
comprehensive-rust copied to clipboard
Unified FFI setup for for readdir() on macOS
This PR switches all macOS code to use the modern (introduced in macOS 10.5) ABI. I think this is a better approach than forking on the macOS platform because
- This makes macOS x86_64 closer to macOS aarch64, so CI (which only has x86_64) is more likely to catch bugs that would manifest on aarch64.
- Commenting this code lets us sneak in enough details (such as
readdir$INODE64) so interested folks can research further.