about summary refs log tree commit diff
path: root/tests/codegen-llvm/src-hash-algorithm
diff options
context:
space:
mode:
authorJens Reidel <adrian@travitia.xyz>2025-07-18 00:46:56 +0200
committerJens Reidel <adrian@travitia.xyz>2025-07-18 09:39:13 +0200
commit9e4f777602cdac0458c57615f3019c92e4152d72 (patch)
tree49f10aec017eab9b073717f91e8b58f47d351c5a /tests/codegen-llvm/src-hash-algorithm
parent9cd918bcbbc26deb005eb4e1bd9a445380195e56 (diff)
downloadrust-9e4f777602cdac0458c57615f3019c92e4152d72.tar.gz
rust-9e4f777602cdac0458c57615f3019c92e4152d72.zip
bootstrap: Detect musl hosts
Currently, all non-Android Linux hosts are assumed to be using glibc.
This obviously isn't very portable and will currently result in
downloading a stage0 toolchain for glibc even on musl hosts.

There are multiple ways to detect musl somewhat reliably, but the
easiest option is to check for the python SOABI config variable, which
has values like "cpython-313-x86_64-linux-gnu" or
"cpython-313-powerpc64-linux-musl".

Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Diffstat (limited to 'tests/codegen-llvm/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions