File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ use std::sync::Arc;
41
41
use cranelift_codegen:: isa:: TargetIsa ;
42
42
use cranelift_codegen:: settings:: { self , Configurable } ;
43
43
use rustc_codegen_ssa:: CodegenResults ;
44
- use rustc_codegen_ssa:: back:: versioned_llvm_target;
45
44
use rustc_codegen_ssa:: traits:: CodegenBackend ;
46
45
use rustc_metadata:: EncodedMetadata ;
47
46
use rustc_middle:: dep_graph:: { WorkProduct , WorkProductId } ;
@@ -247,9 +246,7 @@ fn enable_verifier(sess: &Session) -> bool {
247
246
}
248
247
249
248
fn target_triple ( sess : & Session ) -> target_lexicon:: Triple {
250
- // FIXME(madsmtm): Use `sess.target.llvm_target` once target-lexicon supports unversioned macOS.
251
- // See <https://github.com/bytecodealliance/target-lexicon/pull/113>
252
- match versioned_llvm_target ( sess) . parse ( ) {
249
+ match sess. target . llvm_target . parse ( ) {
253
250
Ok ( triple) => triple,
254
251
Err ( err) => sess. dcx ( ) . fatal ( format ! ( "target not recognized: {}" , err) ) ,
255
252
}
You can’t perform that action at this time.
0 commit comments