From c42e0282fff1b96eb1e3db61966b67016bca50ce Mon Sep 17 00:00:00 2001 From: Mads Marquart <mads@marquart.dk> Date: Wed, 12 Mar 2025 23:17:27 +0100 Subject: [PATCH] Fix x86_64-unknown-illumos LLVM target triple We were passing "pc" as the vendor component, which isn't present in the rustc triple, and is inconsistent with the Aarch64 target. --- .../rustc_target/src/spec/targets/x86_64_unknown_illumos.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_target/src/spec/targets/x86_64_unknown_illumos.rs b/compiler/rustc_target/src/spec/targets/x86_64_unknown_illumos.rs index 17f90db0c9066..5be228b612080 100644 --- a/compiler/rustc_target/src/spec/targets/x86_64_unknown_illumos.rs +++ b/compiler/rustc_target/src/spec/targets/x86_64_unknown_illumos.rs @@ -11,7 +11,7 @@ pub(crate) fn target() -> Target { Target { // LLVM does not currently have a separate illumos target, // so we still pass Solaris to it - llvm_target: "x86_64-pc-solaris".into(), + llvm_target: "x86_64-unknown-solaris".into(), metadata: TargetMetadata { description: Some("illumos".into()), tier: Some(2),