Skip to content

Commit f461a55

Browse files
committed
[watchos] remove redundant if statement
1 parent ceb0374 commit f461a55

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/lib.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1863,11 +1863,7 @@ impl Build {
18631863
}
18641864
}
18651865

1866-
if target.contains("apple-ios") {
1867-
self.ios_watchos_flags(cmd)?;
1868-
}
1869-
1870-
if target.contains("apple-watchos") {
1866+
if target.contains("apple-ios") || target.contains("apple-watchos") {
18711867
self.ios_watchos_flags(cmd)?;
18721868
}
18731869

0 commit comments

Comments
 (0)