| author | |
| committer | |
| log | ae38575b42e7ff6f7254c0ae1f1f0519416d83f9 |
| tree | 1803679f746ef91d1cbc215fdacc1a18796740a3 |
| parent | c0ec264f756476484051f9d16ac7bc20c0a45723 |
| signature |
It's about libc++, not libc.2 files changed, 2 insertions(+), 2 deletions(-)
src/Compilation/Config.zig+1-1| ... | @@ -313,7 +313,7 @@ pub fn resolve(options: Options) ResolveError!Config { | ... | @@ -313,7 +313,7 @@ pub fn resolve(options: Options) ResolveError!Config { |
| 313 | }; | 313 | }; |
| 314 | 314 | ||
| 315 | const link_libunwind = b: { | 315 | const link_libunwind = b: { |
| 316 | if (link_libcpp and target_util.libcNeedsLibUnwind(target)) { | 316 | if (link_libcpp and target_util.libCxxNeedsLibUnwind(target)) { |
| 317 | if (options.link_libunwind == false) return error.LibCppRequiresLibUnwind; | 317 | if (options.link_libunwind == false) return error.LibCppRequiresLibUnwind; |
| 318 | break :b true; | 318 | break :b true; |
| 319 | } | 319 | } |
src/target.zig+1-1| ... | @@ -23,7 +23,7 @@ pub fn osRequiresLibC(target: std.Target) bool { | ... | @@ -23,7 +23,7 @@ pub fn osRequiresLibC(target: std.Target) bool { |
| 23 | return target.os.requiresLibC(); | 23 | return target.os.requiresLibC(); |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | pub fn libcNeedsLibUnwind(target: std.Target) bool { | 26 | pub fn libCxxNeedsLibUnwind(target: std.Target) bool { |
| 27 | return switch (target.os.tag) { | 27 | return switch (target.os.tag) { |
| 28 | .macos, | 28 | .macos, |
| 29 | .ios, | 29 | .ios, |