Use --print host-tuple to get the host
This commit is contained in:
parent
4146079cee
commit
82140c1779
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