Use --print host-tuple to get the host

This commit is contained in:
Chris Denton 2025-11-01 13:51:02 +00:00
parent 4146079cee
commit 82140c1779
No known key found for this signature in database
GPG key ID: 713472F2F45627DE

View file

@ -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)