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;
4141use cranelift_codegen:: isa:: TargetIsa ;
4242use cranelift_codegen:: settings:: { self , Configurable } ;
4343use rustc_codegen_ssa:: CodegenResults ;
44- use rustc_codegen_ssa:: back:: versioned_llvm_target;
4544use rustc_codegen_ssa:: traits:: CodegenBackend ;
4645use rustc_metadata:: EncodedMetadata ;
4746use rustc_middle:: dep_graph:: { WorkProduct , WorkProductId } ;
@@ -247,9 +246,7 @@ fn enable_verifier(sess: &Session) -> bool {
247246}
248247
249248fn 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 ( ) {
253250 Ok ( triple) => triple,
254251 Err ( err) => sess. dcx ( ) . fatal ( format ! ( "target not recognized: {}" , err) ) ,
255252 }
You can’t perform that action at this time.
0 commit comments