File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff 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_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_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" ) ,
You can’t perform that action at this time.
0 commit comments