aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-01-03 20:03:22 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-01-03 20:03:22 -0700
commitff66a18555dc6c00bd928f48462c3fc44f86ab6c (patch)
treee30f1af8d95b1e634d4076cbc521ee2b35d5c90c /src/Compilation.zig
parent81fa31c05456facea1d1963a1e7f665351fb248d (diff)
downloadzig-ff66a18555dc6c00bd928f48462c3fc44f86ab6c.tar.gz
zig-ff66a18555dc6c00bd928f48462c3fc44f86ab6c.zip
linker: fix build-obj and -fno-emit-bin
This commit fixes two problems: * `zig build-obj` regressed from the cache-mode branch. It would crash because it assumed that dirname on the emit bin path would not be null. This assumption was invalid when outputting to the current working directory - a pretty common use case for `zig build-obj`. * When using the LLVM backend, `-fno-emit-bin` combined with any other kind of emitting, such as `-femit-asm`, emitted nothing. Both issues are now fixed.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions