We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0ec264 commit ae38575Copy full SHA for ae38575
src/Compilation/Config.zig
@@ -313,7 +313,7 @@ pub fn resolve(options: Options) ResolveError!Config {
313
};
314
315
const link_libunwind = b: {
316
- if (link_libcpp and target_util.libcNeedsLibUnwind(target)) {
+ if (link_libcpp and target_util.libCxxNeedsLibUnwind(target)) {
317
if (options.link_libunwind == false) return error.LibCppRequiresLibUnwind;
318
break :b true;
319
}
src/target.zig
@@ -23,7 +23,7 @@ pub fn osRequiresLibC(target: std.Target) bool {
23
return target.os.requiresLibC();
24
25
26
-pub fn libcNeedsLibUnwind(target: std.Target) bool {
+pub fn libCxxNeedsLibUnwind(target: std.Target) bool {
27
return switch (target.os.tag) {
28
.macos,
29
.ios,
0 commit comments