You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Output of cross run --target powerpc64le-unknown-linux-gnu (note the incorrect value printed for f32):
f32: 0.0
f64: 1.0
Additional information
It appears that the version of QEMU used for powerpc64le-unknown-linux-gnu was pinned to 3.0.1here as a fix for issue #313. The upstream issue has supposedly been fixed and released with QEMU 4.2.0, though I'm unable to confirm for certain if this is related to the issue above.
The text was updated successfully, but these errors were encountered:
The problem
The
println!
andformat!
macros yield unexpected results forf32
primitive type values when cross compiling forpowerpc64le-unknown-linux-gnu
.Configuration
stable-x86_64-apple-darwin
(rustc 1.58.1 (db9d1b20b 2022-01-20)
)powerpc64le-unknown-linux-gnu
Example
Expected result:
Output of
cross run --target powerpc64le-unknown-linux-gnu
(note the incorrect value printed forf32
):Additional information
It appears that the version of QEMU used for
powerpc64le-unknown-linux-gnu
was pinned to3.0.1
here as a fix for issue #313. The upstream issue has supposedly been fixed and released with QEMU4.2.0
, though I'm unable to confirm for certain if this is related to the issue above.The text was updated successfully, but these errors were encountered: