Function canDetectLibC [src]

Prototype

pub fn canDetectLibC(self: Query) bool

Parameters

self: Query

Source

pub fn canDetectLibC(self: Query) bool { if (self.isNativeOs()) return true; if (self.os_tag) |os| { if (builtin.os.tag == .macos and os.isDarwin()) return true; if (os == .linux) { if (self.abi) |abi| if (abi.isAndroid()) return true; } } return false; }