Skip to content

Commit eb68e3a

Browse files
committed
[watch_os] Fix formatting
1 parent d11f1ed commit eb68e3a

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

build.rs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,10 @@ mod c {
241241

242242
// On iOS and 32-bit OSX these are all just empty intrinsics, no need to
243243
// include them.
244-
if target_os != "ios" && target_os != "watchos" && (target_vendor != "apple" || target_arch != "x86") {
244+
if target_os != "ios"
245+
&& target_os != "watchos"
246+
&& (target_vendor != "apple" || target_arch != "x86")
247+
{
245248
sources.extend(&[
246249
("__absvti2", "absvti2.c"),
247250
("__addvti3", "addvti3.c"),
@@ -318,7 +321,11 @@ mod c {
318321
}
319322
}
320323

321-
if target_arch == "arm" && target_os != "ios" && target_os != "watchos" && target_env != "msvc" {
324+
if target_arch == "arm"
325+
&& target_os != "ios"
326+
&& target_os != "watchos"
327+
&& target_env != "msvc"
328+
{
322329
sources.extend(&[
323330
("__aeabi_div0", "arm/aeabi_div0.c"),
324331
("__aeabi_drsub", "arm/aeabi_drsub.c"),

0 commit comments

Comments
 (0)