We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35a99c1 commit 032ba98Copy full SHA for 032ba98
src/lib.rs
@@ -49,7 +49,7 @@ use rustc_middle::dep_graph::{WorkProduct, WorkProductId};
49
use rustc_session::Session;
50
use rustc_session::config::OutputFilenames;
51
use rustc_span::{Symbol, sym};
52
-use rustc_target::spec::Arch;
+use rustc_target::spec::{Abi, Arch};
53
54
pub use crate::config::*;
55
use crate::prelude::*;
@@ -186,7 +186,7 @@ impl CodegenBackend for CraneliftCodegenBackend {
186
let has_reliable_f16_f128 = !(sess.target.arch == Arch::X86_64
187
&& sess.target.os == "windows"
188
&& sess.target.env == "gnu"
189
- && sess.target.abi != "llvm");
+ && sess.target.abi != Abi::Llvm);
190
191
TargetConfig {
192
target_features,
0 commit comments