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:
commit
beb2dde73a
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue