Sync from rust 8549802939
This commit is contained in:
commit
e7279c86be
1 changed files with 2 additions and 2 deletions
|
@ -118,8 +118,8 @@ impl GlobalAsmConfig {
|
|||
GlobalAsmConfig {
|
||||
assembler: crate::toolchain::get_toolchain_binary(tcx.sess, "as"),
|
||||
target: match &tcx.sess.opts.target_triple {
|
||||
rustc_target::spec::TargetTriple::TargetTriple(triple) => triple.clone(),
|
||||
rustc_target::spec::TargetTriple::TargetJson { path_for_rustdoc, .. } => {
|
||||
rustc_target::spec::TargetTuple::TargetTuple(triple) => triple.clone(),
|
||||
rustc_target::spec::TargetTuple::TargetJson { path_for_rustdoc, .. } => {
|
||||
path_for_rustdoc.to_str().unwrap().to_owned()
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue