aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/llvm/Builder.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-10-07 00:21:02 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2024-10-26 22:00:49 +0200
commit27c85e5969f01853b2437d56ddc7a7eee9bf35d0 (patch)
tree695064b9ecba2fd19c90b5ab8e81db49cdf1d6ce /src/codegen/llvm/Builder.zig
parentf02d25d883cb5e9d9487e25ed9241c6c13bc1f88 (diff)
downloadzig-27c85e5969f01853b2437d56ddc7a7eee9bf35d0.tar.gz
zig-27c85e5969f01853b2437d56ddc7a7eee9bf35d0.zip
std.Target: Remove hasDynamicLinker() in favor of DynamicLinker.kind().
hasDynamicLinker() was just kind of lying in the case of Darwin platforms for the benefit of std.zig.system.detectAbiAndDynamicLinker(). A better name would have been hasElfDynamicLinker() or something. It also got the answer wrong for a bunch of platforms that don't actually use ELF. Anyway, this was clearly the wrong layer to do this at, so remove this function and instead use DynamicLinker.kind() + an isDarwin() check in detectAbiAndDynamicLinker().
Diffstat (limited to 'src/codegen/llvm/Builder.zig')
0 files changed, 0 insertions, 0 deletions