We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#include
0.13.0
❯ cat test.c #include <mach/machine/vm_param.h> int main(){} ❯ cat test.S #include <mach/machine/vm_param.h> ❯ zig build-exe test.c -target x86_64-macos-none ❯ zig build-exe test.S -target x86_64-macos-none error(compilation): clang failed with stderr: test.S:1:10: fatal error: 'mach/machine/vm_param.h' file not found 1 | #include <mach/machine/vm_param.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. test.S:1:1: error: clang exited with code 1
Ran into this while trying to cross-compile libffi from Linux to Apple platforms with a build.zig script.
build.zig
No error.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Zig Version
0.13.0
Steps to Reproduce and Observed Behavior
Ran into this while trying to cross-compile libffi from Linux to Apple platforms with a
build.zig
script.Expected Behavior
No error.
The text was updated successfully, but these errors were encountered: