mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
musleabi* targets: we no longer need to set gnueabi* for LLVM now that we set the float ABI explicitly
This commit is contained in:
parent
a51fefcaab
commit
c3189c585f
@ -2,10 +2,7 @@ use crate::spec::{FloatAbi, Target, TargetOptions, base};
|
||||
|
||||
pub(crate) fn target() -> Target {
|
||||
Target {
|
||||
// It's important we use "gnueabi" and not "musleabi" here. LLVM uses it
|
||||
// to determine the calling convention and float ABI, and it doesn't
|
||||
// support the "musleabi" value.
|
||||
llvm_target: "arm-unknown-linux-gnueabi".into(),
|
||||
llvm_target: "arm-unknown-linux-musleabi".into(),
|
||||
metadata: crate::spec::TargetMetadata {
|
||||
description: Some("Armv6 Linux with musl 1.2.3".into()),
|
||||
tier: Some(2),
|
||||
|
@ -2,10 +2,7 @@ use crate::spec::{FloatAbi, Target, TargetOptions, base};
|
||||
|
||||
pub(crate) fn target() -> Target {
|
||||
Target {
|
||||
// It's important we use "gnueabihf" and not "musleabihf" here. LLVM
|
||||
// uses it to determine the calling convention and float ABI, and it
|
||||
// doesn't support the "musleabihf" value.
|
||||
llvm_target: "arm-unknown-linux-gnueabihf".into(),
|
||||
llvm_target: "arm-unknown-linux-musleabihf".into(),
|
||||
metadata: crate::spec::TargetMetadata {
|
||||
description: Some("Armv6 Linux with musl 1.2.3, hardfloat".into()),
|
||||
tier: Some(2),
|
||||
|
@ -2,11 +2,7 @@ use crate::spec::{FloatAbi, Target, TargetOptions, base};
|
||||
|
||||
pub(crate) fn target() -> Target {
|
||||
Target {
|
||||
// FIXME: this comment below does not seem applicable?
|
||||
// It's important we use "gnueabihf" and not "musleabihf" here. LLVM
|
||||
// uses it to determine the calling convention and float ABI, and LLVM
|
||||
// doesn't support the "musleabihf" value.
|
||||
llvm_target: "armv5te-unknown-linux-gnueabi".into(),
|
||||
llvm_target: "armv5te-unknown-linux-musleabi".into(),
|
||||
metadata: crate::spec::TargetMetadata {
|
||||
description: Some("Armv5TE Linux with musl 1.2.3".into()),
|
||||
tier: Some(2),
|
||||
|
@ -7,10 +7,7 @@ pub(crate) fn target() -> Target {
|
||||
// Most of these settings are copied from the armv7_unknown_linux_gnueabi
|
||||
// target.
|
||||
Target {
|
||||
// It's important we use "gnueabi" and not "musleabi" here. LLVM uses it
|
||||
// to determine the calling convention and float ABI, and it doesn't
|
||||
// support the "musleabi" value.
|
||||
llvm_target: "armv7-unknown-linux-gnueabi".into(),
|
||||
llvm_target: "armv7-unknown-linux-musleabi".into(),
|
||||
metadata: crate::spec::TargetMetadata {
|
||||
description: Some("Armv7-A Linux with musl 1.2.3".into()),
|
||||
tier: Some(2),
|
||||
|
@ -4,10 +4,7 @@ use crate::spec::{FloatAbi, Target, TargetOptions, base};
|
||||
|
||||
pub(crate) fn target() -> Target {
|
||||
Target {
|
||||
// It's important we use "gnueabihf" and not "musleabihf" here. LLVM
|
||||
// uses it to determine the calling convention and float ABI, and LLVM
|
||||
// doesn't support the "musleabihf" value.
|
||||
llvm_target: "armv7-unknown-linux-gnueabihf".into(),
|
||||
llvm_target: "armv7-unknown-linux-musleabihf".into(),
|
||||
metadata: crate::spec::TargetMetadata {
|
||||
description: Some("Armv7-A Linux with musl 1.2.3, hardfloat".into()),
|
||||
tier: Some(2),
|
||||
|
@ -8,10 +8,7 @@ use crate::spec::{FloatAbi, Target, TargetOptions, base};
|
||||
|
||||
pub(crate) fn target() -> Target {
|
||||
Target {
|
||||
// It's important we use "gnueabihf" and not "musleabihf" here. LLVM
|
||||
// uses it to determine the calling convention and float ABI, and LLVM
|
||||
// doesn't support the "musleabihf" value.
|
||||
llvm_target: "armv7-unknown-linux-gnueabihf".into(),
|
||||
llvm_target: "armv7-unknown-linux-musleabihf".into(),
|
||||
metadata: crate::spec::TargetMetadata {
|
||||
description: Some("Thumb2-mode ARMv7-A Linux with NEON, musl 1.2.3".into()),
|
||||
tier: Some(3),
|
||||
|
Loading…
Reference in New Issue
Block a user