-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed as not planned
Labels
questionNo questions on the issue tracker, please.No questions on the issue tracker, please.
Description
Zig Version
0.11.0-dev.3395+1e7dcaa3a
Steps to Reproduce and Observed Behavior
Happens on macOS, didn't try other OS.
put this in main.c
#include<assert.h>
int main(int argc, char **argv) {
assert(argc > 0);
return 0;
}
These succeed
$ clang main.c
$ zig cc main.c
But this fails
$ zig clang main.c
main.c:2:9: fatal error: 'assert.h' file not found
#include<assert.h>
^~~~~~~~~~
1 error generated.
Expected Behavior
zig clang should work
Metadata
Metadata
Assignees
Labels
questionNo questions on the issue tracker, please.No questions on the issue tracker, please.