Skip to content

Commit 9842d27

Browse files
committed
Fix build
1 parent 5a853b0 commit 9842d27

File tree

1 file changed

+9
-7
lines changed
  • src/libcompiler_builtins

1 file changed

+9
-7
lines changed

src/libcompiler_builtins/lib.rs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@ pub mod reimpls {
5656
pub struct u64x2(u64, u64);
5757

5858
#[cfg(not(stage0))]
59-
#[cfg(all(windows, target_pointer_width="64")]
59+
#[cfg(all(windows, target_pointer_width="64"))]
6060
type u128ret = u64x2;
6161

6262
#[cfg(any(not(all(windows, target_pointer_width="64")),stage0))]
6363
type u128ret = u128_;
6464

6565
#[cfg(not(stage0))]
66-
#[cfg(all(windows, target_pointer_width="64")]
66+
#[cfg(all(windows, target_pointer_width="64"))]
6767
type i128ret = u64x2;
6868

6969
#[cfg(any(not(all(windows, target_pointer_width="64")),stage0))]
@@ -695,29 +695,31 @@ pub mod reimpls {
695695
#[cfg(not(stage0))]
696696
#[cfg(all(windows, target_pointer_width="64"))]
697697
mod windows_64_workarounds {
698+
use super::{i128_, u128_, LargeInt};
699+
use super::{i128_as_f64, i128_as_f32, u128_as_f64, u128_as_f32};
698700
#[export_name="__floattidf"]
699701
pub extern "C" fn i128_as_f64_win(alow: u64, ahigh: i64) -> f64 {
700-
::i128_as_f64(i128_::from_parts(alow, ahigh))
702+
i128_as_f64(i128_::from_parts(alow, ahigh))
701703
}
702704

703705
#[export_name="__floattisf"]
704706
pub extern "C" fn i128_as_f32_win(alow: u64, ahigh: i64) -> f32 {
705-
::i128_as_f32(i128_::from_parts(alow, ahigh))
707+
i128_as_f32(i128_::from_parts(alow, ahigh))
706708
}
707709

708710
#[export_name="__floatuntidf"]
709711
pub extern "C" fn u128_as_f64_win(alow: u64, ahigh: u64) -> f64 {
710-
::u128_as_f64(u128_::from_parts(alow, ahigh))
712+
u128_as_f64(u128_::from_parts(alow, ahigh))
711713
}
712714

713715
#[export_name="__floatuntisf"]
714716
pub extern "C" fn u128_as_f32_win(alow: u64, ahigh: u64) -> f32 {
715-
::u128_as_f32(u128_::from_parts(alow, ahigh))
717+
u128_as_f32(u128_::from_parts(alow, ahigh))
716718
}
717719
}
718720
#[cfg(not(stage0))]
719721
#[cfg(all(windows, target_pointer_width="64"))]
720-
pub use windows_64_workarounds::*;
722+
pub use self::windows_64_workarounds::*;
721723

722724

723725
#[cfg_attr(not(all(windows, target_pointer_width="64", not(stage0))),

0 commit comments

Comments
 (0)