(v: DeploymentTarget)
| 177 | use target_lexicon::{DeploymentTarget, OperatingSystem::*}; |
| 178 | |
| 179 | fn pack_version(v: DeploymentTarget) -> u32 { |
| 180 | let (major, minor, patch) = (v.major as u32, v.minor as u32, v.patch as u32); |
| 181 | (major << 16) | (minor << 8) | patch |
| 182 | } |
| 183 | |
| 184 | match triple.operating_system { |
| 185 | Darwin(v) | MacOSX(v) | IOS(v) | TvOS(v) | VisionOS(v) | WatchOS(v) | XROS(v) => { |
no outgoing calls
no test coverage detected