rust-cross / cargo-zigbuild

Compile Cargo project with zig as linker
MIT License
1.45k stars 52 forks source link

Use `-isystem` instead of `-I` for macOS SDK header include #138

Closed messense closed 1 year ago

messense commented 1 year ago

https://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html

The -isystem and -idirafter options also mark the directory as a system directory, so that it gets the same special treatment that is applied to the standard system directories.