File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ mod c {
241
241
242
242
// On iOS and 32-bit OSX these are all just empty intrinsics, no need to
243
243
// include them.
244
- if target_os != "ios" && ( target_vendor != "apple" || target_arch != "x86" ) {
244
+ if target_os != "ios" && target_os != "watchos" && ( target_vendor != "apple" || target_arch != "x86" ) {
245
245
sources. extend ( & [
246
246
( "__absvti2" , "absvti2.c" ) ,
247
247
( "__addvti3" , "addvti3.c" ) ,
@@ -318,7 +318,7 @@ mod c {
318
318
}
319
319
}
320
320
321
- if target_arch == "arm" && target_os != "ios" && target_env != "msvc" {
321
+ if target_arch == "arm" && target_os != "ios" && target_os != "watchos" && target_env != "msvc" {
322
322
sources. extend ( & [
323
323
( "__aeabi_div0" , "arm/aeabi_div0.c" ) ,
324
324
( "__aeabi_drsub" , "arm/aeabi_drsub.c" ) ,
You can’t perform that action at this time.
0 commit comments