From 82140c17797fc115ba625fbfd6fcebddc6e551a6 Mon Sep 17 00:00:00 2001 From: Chris Denton Date: Sat, 1 Nov 2025 13:51:02 +0000 Subject: [PATCH] Use --print host-tuple to get the host --- src/etc/rust-lldb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etc/rust-lldb b/src/etc/rust-lldb index bce72f1bad698..f8f31903060c3 100755 --- a/src/etc/rust-lldb +++ b/src/etc/rust-lldb @@ -4,7 +4,7 @@ set -e # Find the host triple so we can find lldb in rustlib. -host=$(rustc -vV | sed -n -e 's/^host: //p') +host=$(rustc --print host-tuple) # Find out where to look for the pretty printer Python module RUSTC_SYSROOT=$(rustc --print sysroot)