aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorJohn Schmidt <john.schmidt.h@gmail.com>2022-01-19 15:11:29 +0100
committerAndrew Kelley <andrew@ziglang.org>2022-01-26 00:48:05 -0500
commit9ee67b967bd8ed2f11c24078ac16f9fd96b44a39 (patch)
tree8ae86c16c60b0b527ee35c332a4951ce7f16407e /src/Compilation.zig
parent0c1df96b17fcafdb0aa973dfcb1819929719d650 (diff)
downloadzig-9ee67b967bd8ed2f11c24078ac16f9fd96b44a39.tar.gz
zig-9ee67b967bd8ed2f11c24078ac16f9fd96b44a39.zip
stage2: avoid inferred struct in os_version_check.zig
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.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions