mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-07 22:34:28 +00:00
Before this commit, compiling an empty main with Stage 2 on macOS x86_64 results in
```
../stage2/bin/zig build-exe -ODebug -fLLVM empty_main.zig
error: sub-compilation of compiler_rt failed
[...]/zig/stage2/lib/zig/std/special/compiler_rt/os_version_check.zig:26:10: error: TODO: Sema.zirStructInit for runtime-known struct values
```
By assigning the value to a variable we can sidestep the issue for now.
|
||
|---|---|---|
| .. | ||
| compiler_rt | ||
| docs | ||
| init-exe | ||
| init-lib | ||
| build_runner.zig | ||
| c.zig | ||
| c_stage1.zig | ||
| compiler_rt.zig | ||
| ssp.zig | ||
| test_runner.zig | ||