about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-11-07 09:45:59 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-11-07 09:45:59 +0000
commite7279c86be7f0ea2bb81690729966f25fb8ab462 (patch)
tree2704cfba485f3c11085076dddb0b168fb6d0043e
parentaedbae6ccc9f77987b808818e5dedf8f79e28d3b (diff)
parent12677fd3d0a7c13bae21213af19f74f606bf6e64 (diff)
downloadrust-e7279c86be7f0ea2bb81690729966f25fb8ab462.tar.gz
rust-e7279c86be7f0ea2bb81690729966f25fb8ab462.zip
Sync from rust 8549802939cd01111c46e34a7b67cb1933977af9
-rw-r--r--src/global_asm.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/global_asm.rs b/src/global_asm.rs
index 0c99a5ce12f..6f90d17920d 100644
--- a/src/global_asm.rs
+++ b/src/global_asm.rs
@@ -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()
                 }
             },