there’s a bunch of libc folder in the <zig installation>/lib/libc/include
I presume zig decides at least the top level directory(the platform specific) by checking the std.Target
but say the target is a linux platform it will choose any-linux-any
directory and my @cImport
headers are trying to
import “time.h” header, it’s like in
<zig installation>
-> lib
-> libc
-> include
-> any-linux-any
-> linux
->time.h
so in the any-linux-any
directory you’ve to go one sub-directory(linux
) deeper to get to that header, i am interested on how zig decides that when to go to one sub-directory/many sub-directory deeper after choosing the platform specific include directory. any reference in the zig source regarding it would be helpful.