diff options
| author | Ralf Jung <post@ralfj.de> | 2024-11-03 06:54:52 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-03 06:54:52 +0000 |
| commit | b17cf41306cc148d68d4d82496fc2d52096437db (patch) | |
| tree | 87450c73dc3cb72b3fe87651143628c03b2a3ad2 /compiler/rustc_codegen_cranelift/src | |
| parent | c67ea446048735af7e11ba483820be88895b4c23 (diff) | |
| parent | b58cbe236117af9cb767a28f4b3dfa469053a441 (diff) | |
| download | rust-b17cf41306cc148d68d4d82496fc2d52096437db.tar.gz rust-b17cf41306cc148d68d4d82496fc2d52096437db.zip | |
Merge pull request #4010 from rust-lang/rustup-2024-11-03
Automatic Rustup
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/src/global_asm.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/global_asm.rs b/compiler/rustc_codegen_cranelift/src/global_asm.rs index 0c99a5ce12f..6f90d17920d 100644 --- a/compiler/rustc_codegen_cranelift/src/global_asm.rs +++ b/compiler/rustc_codegen_cranelift/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() } }, |
