cd980b3bee
This commit adds support to the makefiles, configuration script, and build system to understand MUSL. This is broken up into a few parts: * Any target of the form `*-musl` requires the `--musl-root` option to `./configure` which will indicate the root of the MUSL installation. It is also expected that there is a libunwind build inside of that installation built against that MUSL. * Objects from MUSL are copied into the build tree for Rust to be statically linked into the appropriate Rust library. * Objects for binary startup and shutdown are included in each Rust installation by default for MUSL. This requires MUSL to only be installed on the machine compiling rust. Only a linker will be necessary for compiling against MUSL on a target machine. Eventually a MUSL and/or libunwind build may be integrated by default into the build but for now they are just always assumed to exist externally. |
||
---|---|---|
.. | ||
aarch64-apple-ios.mk | ||
aarch64-linux-android.mk | ||
aarch64-unknown-linux-gnu.mk | ||
arm-linux-androideabi.mk | ||
arm-unknown-linux-gnueabi.mk | ||
arm-unknown-linux-gnueabihf.mk | ||
armv7-apple-ios.mk | ||
armv7s-apple-ios.mk | ||
i386-apple-ios.mk | ||
i686-apple-darwin.mk | ||
i686-pc-windows-gnu.mk | ||
i686-unknown-linux-gnu.mk | ||
mips-unknown-linux-gnu.mk | ||
mipsel-unknown-linux-gnu.mk | ||
powerpc-unknown-linux-gnu.mk | ||
x86_64-apple-darwin.mk | ||
x86_64-apple-ios.mk | ||
x86_64-pc-windows-gnu.mk | ||
x86_64-unknown-bitrig.mk | ||
x86_64-unknown-dragonfly.mk | ||
x86_64-unknown-freebsd.mk | ||
x86_64-unknown-linux-gnu.mk | ||
x86_64-unknown-linux-musl.mk | ||
x86_64-unknown-openbsd.mk |