Function isNativeCpu [src]
Prototype
pub fn isNativeCpu(self: Query) bool
Parameters
self: Query
Source
pub fn isNativeCpu(self: Query) bool {
return self.cpu_arch == null and
(self.cpu_model == .native or self.cpu_model == .determined_by_arch_os) and
self.cpu_features_sub.isEmpty() and self.cpu_features_add.isEmpty();
}