Skip to content

Commit

Permalink
[watchos] remove redundant if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-ea committed Mar 8, 2022
1 parent ceb0374 commit f461a55
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1863,11 +1863,7 @@ impl Build {
}
}

if target.contains("apple-ios") {
self.ios_watchos_flags(cmd)?;
}

if target.contains("apple-watchos") {
if target.contains("apple-ios") || target.contains("apple-watchos") {
self.ios_watchos_flags(cmd)?;
}

Expand Down

0 comments on commit f461a55

Please sign in to comment.