Skip to content

Commit 5fac4a0

Browse files
committed
include __aeabi_ui2d only if we're not building features "c".
1 parent 6b93746 commit 5fac4a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/arm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ pub extern "C" fn __aeabi_uidiv(a: u32, b: u32) -> u32 {
100100
::int::udiv::__udivsi3(a, b)
101101
}
102102

103-
#[cfg(not(all(feature = "c", target_arch = "arm", not(target_os = "ios"), not(thumbv6m))))]
103+
#[cfg(not(feature = "c"))]
104104
#[cfg_attr(not(test), no_mangle)]
105105
pub extern "C" fn __aeabi_ui2d(a: u32) -> f64 {
106106
::float::convert::__floatunsidf(a)

0 commit comments

Comments
 (0)