mirror of
https://github.com/ziglang/zig.git
synced 2025-12-25 07:33:08 +00:00
allow not having libc include paths and doing @cImport
This commit is contained in:
parent
2b7e29f791
commit
aaef6259c3
@ -4590,8 +4590,7 @@ static Buf *get_posix_libc_include_path(void) {
|
||||
void find_libc_include_path(CodeGen *g) {
|
||||
if (g->libc_include_dir == nullptr) {
|
||||
if (!g->is_native_target) {
|
||||
fprintf(stderr, "Unable to determine libc include path. --libc-include-dir");
|
||||
exit(1);
|
||||
return;
|
||||
}
|
||||
|
||||
if (g->zig_target.os == OsWindows) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user