Merge pull request #24629 from alexrp/android-requires-libc

`std.Target`: require libc for Android API levels prior to 29
This commit is contained in:
Alex Rønne Petersen
2025-08-04 17:59:47 +02:00
committed by GitHub
2 changed files with 56 additions and 52 deletions

View File

@@ -20,7 +20,7 @@ pub fn cannotDynamicLink(target: *const std.Target) bool {
/// Similarly on FreeBSD and NetBSD we always link system libc
/// since this is the stable syscall interface.
pub fn osRequiresLibC(target: *const std.Target) bool {
return target.os.requiresLibC();
return target.requiresLibC();
}
pub fn libCNeedsLibUnwind(target: *const std.Target, link_mode: std.builtin.LinkMode) bool {