Skip to content

Commit 82140c1

Browse files
committed
Use --print host-tuple to get the host
1 parent 4146079 commit 82140c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/etc/rust-lldb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
set -e
55

66
# Find the host triple so we can find lldb in rustlib.
7-
host=$(rustc -vV | sed -n -e 's/^host: //p')
7+
host=$(rustc --print host-tuple)
88

99
# Find out where to look for the pretty printer Python module
1010
RUSTC_SYSROOT=$(rustc --print sysroot)

0 commit comments

Comments
 (0)