Skip to content

Commit b4e1a53

Browse files
committed
Update target-spec metadata for loongarch64 targets
1 parent 385a74f commit b4e1a53

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Diff for: 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(),

Diff for: compiler/rustc_target/src/spec/targets/loongarch64_unknown_none.rs

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

Diff for: compiler/rustc_target/src/spec/targets/loongarch64_unknown_none_softfloat.rs

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

0 commit comments

Comments
 (0)