Make mips64el-unknown-linux-muslabi64 link dynamically
I missed this target when I changed all the other tier 3 targets. Only realized that this one was still statically linked when I looked at the list of targets in the test later. Signed-off-by: Jens Reidel <adrian@travitia.xyz>
This commit is contained in:
@@ -5,8 +5,6 @@ pub(crate) fn target() -> Target {
|
|||||||
base.cpu = "mips64r2".into();
|
base.cpu = "mips64r2".into();
|
||||||
base.features = "+mips64r2,+xgot".into();
|
base.features = "+mips64r2,+xgot".into();
|
||||||
base.max_atomic_width = Some(64);
|
base.max_atomic_width = Some(64);
|
||||||
// FIXME(compiler-team#422): musl targets should be dynamically linked by default.
|
|
||||||
base.crt_static_default = true;
|
|
||||||
Target {
|
Target {
|
||||||
// LLVM doesn't recognize "muslabi64" yet.
|
// LLVM doesn't recognize "muslabi64" yet.
|
||||||
llvm_target: "mips64el-unknown-linux-musl".into(),
|
llvm_target: "mips64el-unknown-linux-musl".into(),
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ use run_make_support::{rustc, serde_json};
|
|||||||
// Per https://github.com/rust-lang/compiler-team/issues/422,
|
// Per https://github.com/rust-lang/compiler-team/issues/422,
|
||||||
// we should be trying to move these targets to dynamically link
|
// we should be trying to move these targets to dynamically link
|
||||||
// musl libc by default.
|
// musl libc by default.
|
||||||
//@ needs-llvm-components: aarch64 arm mips powerpc x86
|
//@ needs-llvm-components: aarch64 arm powerpc x86
|
||||||
static LEGACY_STATIC_LINKING_TARGETS: &[&'static str] = &[
|
static LEGACY_STATIC_LINKING_TARGETS: &[&'static str] = &[
|
||||||
"aarch64-unknown-linux-musl",
|
"aarch64-unknown-linux-musl",
|
||||||
"arm-unknown-linux-musleabi",
|
"arm-unknown-linux-musleabi",
|
||||||
@@ -14,7 +14,6 @@ static LEGACY_STATIC_LINKING_TARGETS: &[&'static str] = &[
|
|||||||
"armv7-unknown-linux-musleabihf",
|
"armv7-unknown-linux-musleabihf",
|
||||||
"i586-unknown-linux-musl",
|
"i586-unknown-linux-musl",
|
||||||
"i686-unknown-linux-musl",
|
"i686-unknown-linux-musl",
|
||||||
"mips64el-unknown-linux-muslabi64",
|
|
||||||
"powerpc64le-unknown-linux-musl",
|
"powerpc64le-unknown-linux-musl",
|
||||||
"x86_64-unknown-linux-musl",
|
"x86_64-unknown-linux-musl",
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user