Skip to content

Commit 8840f88

Browse files
authored
Rollup merge of rust-lang#128296 - heiher:update-metadata, r=Urgau
Update target-spec metadata for loongarch64 targets
2 parents 8b050c1 + b4e1a53 commit 8840f88

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

compiler/rustc_target/src/spec/targets/loongarch64_unknown_linux_musl.rs

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

compiler/rustc_target/src/spec/targets/loongarch64_unknown_none.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pub fn target() -> Target {
66
Target {
77
llvm_target: "loongarch64-unknown-none".into(),
88
metadata: crate::spec::TargetMetadata {
9-
description: None,
9+
description: Some("Freestanding/bare-metal LoongArch64".into()),
1010
tier: Some(2),
1111
host_tools: Some(false),
1212
std: Some(false),

compiler/rustc_target/src/spec/targets/loongarch64_unknown_none_softfloat.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pub fn target() -> Target {
66
Target {
77
llvm_target: "loongarch64-unknown-none".into(),
88
metadata: crate::spec::TargetMetadata {
9-
description: None,
9+
description: Some("Freestanding/bare-metal LoongArch64 softfloat".into()),
1010
tier: Some(2),
1111
host_tools: Some(false),
1212
std: Some(false),

0 commit comments

Comments
 (0)