mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-09 23:29:03 +00:00
This is now no longer limited to targeting macOS natively but also tries to detect the sysroot when targeting different Apple platforms from macOS; for instance targeting iPhone Simulator from macOS. In this case, Zig will try detecting the SDK path by invoking `xcrun --sdk iphonesimulator --show-sdk-path`, and if the command fails because the SDK doesn't exist (case when having CLT installed only) or not having either Xcode or CLT installed, we simply return null signaling that the user has to provide the sysroot themselves. |
||
|---|---|---|
| .. | ||
| system | ||
| ast.zig | ||
| c_builtins.zig | ||
| c_translation.zig | ||
| cross_target.zig | ||
| fmt.zig | ||
| parse.zig | ||
| parser_test.zig | ||
| perf_test.zig | ||
| render.zig | ||
| string_literal.zig | ||
| system.zig | ||
| tokenizer.zig | ||