diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2025-05-03 06:31:12 +0200 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-05-03 10:31:31 +0200 |
| commit | ae38575b42e7ff6f7254c0ae1f1f0519416d83f9 (patch) | |
| tree | 1803679f746ef91d1cbc215fdacc1a18796740a3 /src/Compilation | |
| parent | c0ec264f756476484051f9d16ac7bc20c0a45723 (diff) | |
| download | zig-ae38575b42e7ff6f7254c0ae1f1f0519416d83f9.tar.gz zig-ae38575b42e7ff6f7254c0ae1f1f0519416d83f9.zip | |
compiler: Rename misleading libcNeedsLibUnwind() function.
It's about libc++, not libc.
Diffstat (limited to 'src/Compilation')
| -rw-r--r-- | src/Compilation/Config.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compilation/Config.zig b/src/Compilation/Config.zig index a4c69454b3..5019f47ebf 100644 --- a/src/Compilation/Config.zig +++ b/src/Compilation/Config.zig @@ -313,7 +313,7 @@ pub fn resolve(options: Options) ResolveError!Config { }; const link_libunwind = b: { - if (link_libcpp and target_util.libcNeedsLibUnwind(target)) { + if (link_libcpp and target_util.libCxxNeedsLibUnwind(target)) { if (options.link_libunwind == false) return error.LibCppRequiresLibUnwind; break :b true; } |
