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 {
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_vendor != "apple" || target_arch != "x86" ) {
244+ if target_os != "ios" && target_os != "watchos" && ( target_vendor != "apple" || target_arch != "x86" ) {
245245 sources. extend ( & [
246246 ( "__absvti2" , "absvti2.c" ) ,
247247 ( "__addvti3" , "addvti3.c" ) ,
@@ -318,7 +318,7 @@ mod c {
318318 }
319319 }
320320
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" {
322322 sources. extend ( & [
323323 ( "__aeabi_div0" , "arm/aeabi_div0.c" ) ,
324324 ( "__aeabi_drsub" , "arm/aeabi_drsub.c" ) ,
You can’t perform that action at this time.
0 commit comments