File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -241,7 +241,10 @@ 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"
245
+ && target_os != "watchos"
246
+ && ( target_vendor != "apple" || target_arch != "x86" )
247
+ {
245
248
sources. extend ( & [
246
249
( "__absvti2" , "absvti2.c" ) ,
247
250
( "__addvti3" , "addvti3.c" ) ,
@@ -318,7 +321,11 @@ mod c {
318
321
}
319
322
}
320
323
321
- if target_arch == "arm" && target_os != "ios" && target_env != "msvc" {
324
+ if target_arch == "arm"
325
+ && target_os != "ios"
326
+ && target_os != "watchos"
327
+ && target_env != "msvc"
328
+ {
322
329
sources. extend ( & [
323
330
( "__aeabi_div0" , "arm/aeabi_div0.c" ) ,
324
331
( "__aeabi_drsub" , "arm/aeabi_drsub.c" ) ,
You can’t perform that action at this time.
0 commit comments