Skip to content

Commit d7f26ab

Browse files
committed
build: Update toolchain to nightly-2025-06-05
This commit also updates target spec JSONs. Signed-off-by: Akira Moroo <[email protected]>
1 parent fbb69ce commit d7f26ab

File tree

5 files changed

+20
-17
lines changed

5 files changed

+20
-17
lines changed

aarch64-unknown-none.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"llvm-target": "aarch64-unknown-none",
33
"abi": "softfloat",
44
"arch": "aarch64",
5-
"data-layout": "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128",
5+
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128-Fn32",
66
"disable-redzone": true,
77
"features": "+strict-align,-neon,-fp-armv8",
88
"linker": "rust-lld",
9-
"linker-flavor": "ld.lld",
9+
"linker-flavor": "gnu-lld",
1010
"os": "none",
1111
"executables": true,
1212
"max-atomic-width": 128,
@@ -15,6 +15,9 @@
1515
"relocation-model": "pic",
1616
"target-pointer-width": "64",
1717
"pre-link-args": {
18-
"ld.lld": ["--script=aarch64-unknown-none.ld", "--oformat=binary"]
18+
"gnu-lld": [
19+
"--script=aarch64-unknown-none.ld",
20+
"--oformat=binary"
21+
]
1922
}
20-
}
23+
}

riscv64gcv-unknown-none-elf.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,17 @@
66
"eh-frame-header": false,
77
"emit-debug-gdb-scripts": false,
88
"features": "+m,+a,-f,+d,+c,-v",
9-
"is-builtin": false,
109
"linker": "rust-lld",
11-
"linker-flavor": "ld.lld",
10+
"linker-flavor": "gnu-lld",
1211
"llvm-abiname": "lp64d",
1312
"llvm-target": "riscv64",
1413
"max-atomic-width": 64,
1514
"panic-strategy": "abort",
1615
"relocation-model": "static",
1716
"target-pointer-width": "64",
18-
"pre-link-args": {
19-
"ld.lld": ["--script=riscv64gcv-unknown-none-elf.ld"]
17+
"pre-link-args": {
18+
"gnu-lld": [
19+
"--script=riscv64gcv-unknown-none-elf.ld"
20+
]
2021
}
21-
}
22+
}

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[toolchain]
2-
channel = "nightly-2024-05-13"
2+
channel = "nightly-2025-06-05"
33
components = ["rust-src", "clippy", "rustfmt"]
44
targets = [
55
"aarch64-unknown-linux-gnu",

src/main.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
// SPDX-License-Identifier: Apache-2.0
22
// Copyright © 2019 Intel Corporation
33

4-
#![feature(asm_const)]
5-
#![feature(exposed_provenance)]
6-
#![feature(slice_take)]
74
#![feature(stmt_expr_attributes)]
8-
#![feature(strict_provenance)]
95
#![feature(sync_unsafe_cell)]
106
#![cfg_attr(not(test), no_std)]
117
#![cfg_attr(not(test), no_main)]

x86_64-unknown-none.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,16 @@
88
"os": "none",
99
"executables": true,
1010
"linker": "rust-lld",
11-
"linker-flavor": "ld.lld",
11+
"linker-flavor": "gnu-lld",
1212
"panic-strategy": "abort",
1313
"disable-redzone": true,
1414
"features": "-mmx,-sse,+soft-float",
1515
"code-model": "small",
1616
"relocation-model": "pic",
17+
"rustc-abi": "x86-softfloat",
1718
"pre-link-args": {
18-
"ld.lld": ["--script=x86_64-unknown-none.ld"]
19+
"gnu-lld": [
20+
"--script=x86_64-unknown-none.ld"
21+
]
1922
}
20-
}
23+
}

0 commit comments

Comments
 (0)