We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35afbd4 commit cb0c877Copy full SHA for cb0c877
examples/fpu.rs
@@ -13,7 +13,11 @@ pub extern "C" fn main() -> ! {
13
let y = black_box(3_f32);
14
let z = black_box(x * y);
15
16
- iprintln!("{} * {} = {}", x, y, z);
+ // FIXME(japaric/rustc-builtins#79) there is a problem with the
17
+ // rustc-builtins (compiler-builtins-snapshot) crate and LTO. Avoid the
18
+ // issue by printing these values as integers because integer formatting
19
+ // doesn't need any intrinsic.
20
+ iprintln!("{} * {} = {}", x as u32, y as u32, z as u32);
21
22
loop {}
23
}
0 commit comments