1
Fork 0

bootstrap: Configurable musl libdir

Make it possible to customize the location of musl libdir using
musl-libdir in config.toml, e.g., to use lib64 instead of lib.
This commit is contained in:
Tomasz Miąsko 2020-06-17 00:00:00 +00:00
parent 2935d294ff
commit 5c20ef433b
5 changed files with 25 additions and 10 deletions

View file

@ -359,7 +359,7 @@
# nightly features
#channel = "dev"
# The root location of the MUSL installation directory.
# The root location of the musl installation directory.
#musl-root = "..."
# By default the `rustc` executable is built with `-Wl,-rpath` flags on Unix
@ -502,12 +502,15 @@
# only use static libraries. If unset, the target's default linkage is used.
#crt-static = false
# The root location of the MUSL installation directory. The library directory
# The root location of the musl installation directory. The library directory
# will also need to contain libunwind.a for an unwinding implementation. Note
# that this option only makes sense for MUSL targets that produce statically
# that this option only makes sense for musl targets that produce statically
# linked binaries
#musl-root = "..."
# The full path to the musl libdir.
#musl-libdir = musl-root/lib
# The root location of the `wasm32-wasi` sysroot.
#wasi-root = "..."