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
I'm trying to use rustc_codegen_cranelift, and the compiler is giving me the following warning:
warning: target feature `x87` must be enabled to ensure that the ABI of the current target can be implemented correctly
|
= note: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #116344 <https://github.com/rust-lang/rust/issues/116344>
fn target_features_cfg(&self,sess:&Session,_allow_unstable:bool,) -> Vec<rustc_span::Symbol>{// FIXME return the actually used target features. this is necessary for #[cfg(target_feature)]if sess.target.arch == "x86_64" && sess.target.os != "none"{// x86_64 mandates SSE2 support and rustc requires the x87 feature to be enabledvec![sym::fsxr, sym::sse, sym::sse2,Symbol::intern("x87")]} ...
Is there a way to fix this, or is this a limitation of rustc_codegen_cranelift?
The text was updated successfully, but these errors were encountered:
Are you using cg_clif as distributed with rustup or as downloaded from https://github.com/rust-lang/rustc_codegen_cranelift/releases/tag/dev? I added Symbol::intern("x87") to this repo to fix this warning yesterday, but I haven't synced it back to the main rust repo for inclusion on rustup yet.
Hello!
I'm trying to use
rustc_codegen_cranelift
, and the compiler is giving me the following warning:It seems to be related to this code:
Is there a way to fix this, or is this a limitation of
rustc_codegen_cranelift
?The text was updated successfully, but these errors were encountered: