From c37787eb932e8586c80ccc4da757fd532bce84f6 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 17 Aug 2018 08:40:16 -0600 Subject: [PATCH] Change target triple used to check for lldb in build-manifest The wrong target triple was used for lldb in build-manifest. lldb is only built for macOS, so update the triple to reflect that. This is an attempt to fix bug#48168. --- src/tools/build-manifest/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tools/build-manifest/src/main.rs b/src/tools/build-manifest/src/main.rs index ee1345c7f9411..76c15f6601a4a 100644 --- a/src/tools/build-manifest/src/main.rs +++ b/src/tools/build-manifest/src/main.rs @@ -273,7 +273,8 @@ impl Builder { self.clippy_version = self.version("clippy", "x86_64-unknown-linux-gnu"); self.rustfmt_version = self.version("rustfmt", "x86_64-unknown-linux-gnu"); self.llvm_tools_version = self.version("llvm-tools", "x86_64-unknown-linux-gnu"); - self.lldb_version = self.version("lldb", "x86_64-unknown-linux-gnu"); + // lldb is only built for macOS. + self.lldb_version = self.version("lldb", "x86_64-apple-darwin"); self.rust_git_commit_hash = self.git_commit_hash("rust", "x86_64-unknown-linux-gnu"); self.cargo_git_commit_hash = self.git_commit_hash("cargo", "x86_64-unknown-linux-gnu");