mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Rollup merge of #148367 - ChrisDenton:use-print-host, r=jieyouxu
Use --print host-tuple to get the host `--print host-tuple` has been available since 1.84 so there's no longer a need to parse the output of `-vV`. Especially since this script is shipped with the toolchain.
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user