Skip to content

Commit ceb0374

Browse files
committed
[watchos] fix format
1 parent d5a711e commit ceb0374

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/lib.rs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2148,8 +2148,16 @@ impl Build {
21482148
};
21492149

21502150
let (sdk_prefix, sim_prefix, min_version) = match os {
2151-
Os::Ios => ("iphone", "ios-", std::env::var("IPHONEOS_DEPLOYMENT_TARGET").unwrap_or_else(|_| "7.0".into())),
2152-
Os::WatchOs => ("watch", "watch", std::env::var("WATCHOS_DEPLOYMENT_TARGET").unwrap_or_else(|_| "2.0".into())),
2151+
Os::Ios => (
2152+
"iphone",
2153+
"ios-",
2154+
std::env::var("IPHONEOS_DEPLOYMENT_TARGET").unwrap_or_else(|_| "7.0".into()),
2155+
),
2156+
Os::WatchOs => (
2157+
"watch",
2158+
"watch",
2159+
std::env::var("WATCHOS_DEPLOYMENT_TARGET").unwrap_or_else(|_| "2.0".into()),
2160+
),
21532161
};
21542162

21552163
let sdk = match arch {

0 commit comments

Comments
 (0)