isNativeOs
Function parameters
Parameters
Type definitions in this namespace
Types
Functions in this namespace
Functions
- parseCpuArch
- Similar to `parse` except instead of fully parsing, it only determines the CPU
- parseVersion
- Similar to `SemanticVersion.parse`, but with following changes:
- serializeCpu
- Renders the query into a textual representation that can be parsed via the
Source
Implementation
pub fn isNativeOs(self: Query) bool {
return self.os_tag == null and self.os_version_min == null and self.os_version_max == null and
self.dynamic_linker.get() == null and self.glibc_version == null and self.android_api_level == null;
}