Rollup merge of #128296 - heiher:update-metadata, r=Urgau

Update target-spec metadata for loongarch64 targets
This commit is contained in:
Matthias Krüger 2024-08-01 00:50:11 +02:00 committed by GitHub
commit c4ee411854
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View File

@ -4,10 +4,10 @@ pub fn target() -> Target {
Target { Target {
llvm_target: "loongarch64-unknown-linux-musl".into(), llvm_target: "loongarch64-unknown-linux-musl".into(),
metadata: crate::spec::TargetMetadata { metadata: crate::spec::TargetMetadata {
description: Some("LoongArch64 Linux (LP64D ABI) with musl 1.2.3".into()), description: Some("LoongArch64 Linux (LP64D ABI) with musl 1.2.5".into()),
tier: Some(3), tier: Some(2),
host_tools: Some(false), host_tools: Some(true),
std: None, // ? std: Some(true),
}, },
pointer_width: 64, pointer_width: 64,
data_layout: "e-m:e-p:64:64-i64:64-i128:128-n32:64-S128".into(), data_layout: "e-m:e-p:64:64-i64:64-i128:128-n32:64-S128".into(),

View File

@ -6,7 +6,7 @@ pub fn target() -> Target {
Target { Target {
llvm_target: "loongarch64-unknown-none".into(), llvm_target: "loongarch64-unknown-none".into(),
metadata: crate::spec::TargetMetadata { metadata: crate::spec::TargetMetadata {
description: None, description: Some("Freestanding/bare-metal LoongArch64".into()),
tier: Some(2), tier: Some(2),
host_tools: Some(false), host_tools: Some(false),
std: Some(false), std: Some(false),

View File

@ -6,7 +6,7 @@ pub fn target() -> Target {
Target { Target {
llvm_target: "loongarch64-unknown-none".into(), llvm_target: "loongarch64-unknown-none".into(),
metadata: crate::spec::TargetMetadata { metadata: crate::spec::TargetMetadata {
description: None, description: Some("Freestanding/bare-metal LoongArch64 softfloat".into()),
tier: Some(2), tier: Some(2),
host_tools: Some(false), host_tools: Some(false),
std: Some(false), std: Some(false),