From e4ef9902569e995a57f931a394a998894d376b42 Mon Sep 17 00:00:00 2001 From: Waffle Lapkin Date: Mon, 15 Jun 2026 15:36:51 +0200 Subject: [PATCH] mention in the tailcc error that it's supported on x86 --- compiler/rustc_codegen_llvm/src/abi.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_codegen_llvm/src/abi.rs b/compiler/rustc_codegen_llvm/src/abi.rs index 4d18818bbe7bd..bdaf72cb17ce6 100644 --- a/compiler/rustc_codegen_llvm/src/abi.rs +++ b/compiler/rustc_codegen_llvm/src/abi.rs @@ -725,7 +725,7 @@ pub(crate) fn to_llvm_calling_convention(sess: &Session, abi: CanonAbi) -> llvm: }, CanonAbi::RustTail => match &sess.target.arch { Arch::X86 | Arch::X86_64 | Arch::AArch64 => llvm::Tail, - _ => sess.dcx().fatal("extern \"tail\" is only supported on x86_64 and aarch64"), + _ => sess.dcx().fatal("extern \"tail\" is only supported on x86, x86_64 and aarch64"), }, // Functions with this calling convention can only be called from assembly, but it is // possible to declare an `extern "custom"` block, so the backend still needs a calling