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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user