Skip to content

Commit

Permalink
include __aeabi_ui2d only if we're not building features "c".
Browse files Browse the repository at this point in the history
  • Loading branch information
ithinuel committed Nov 26, 2016
1 parent 6b93746 commit 5fac4a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ pub extern "C" fn __aeabi_uidiv(a: u32, b: u32) -> u32 {
::int::udiv::__udivsi3(a, b)
}

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

0 comments on commit 5fac4a0

Please sign in to comment.