We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aedbae6 + 12677fd commit e7279c8Copy full SHA for e7279c8
src/global_asm.rs
@@ -118,8 +118,8 @@ impl GlobalAsmConfig {
118
GlobalAsmConfig {
119
assembler: crate::toolchain::get_toolchain_binary(tcx.sess, "as"),
120
target: match &tcx.sess.opts.target_triple {
121
- rustc_target::spec::TargetTriple::TargetTriple(triple) => triple.clone(),
122
- rustc_target::spec::TargetTriple::TargetJson { path_for_rustdoc, .. } => {
+ rustc_target::spec::TargetTuple::TargetTuple(triple) => triple.clone(),
+ rustc_target::spec::TargetTuple::TargetJson { path_for_rustdoc, .. } => {
123
path_for_rustdoc.to_str().unwrap().to_owned()
124
}
125
},
0 commit comments