Skip to content

Commit 31e793e

Browse files
authored
Merge pull request #356 from rust-embedded/bump-msrv
Bump MSRV to 1.68
2 parents 856dad4 + 8b8f16b commit 31e793e

File tree

10 files changed

+21
-14
lines changed

10 files changed

+21
-14
lines changed

.github/workflows/riscv-rt.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
build-riscv:
1111
strategy:
1212
matrix:
13-
# All generated code should be running on stable now, MRSV is 1.67.0
14-
toolchain: [ stable, nightly, 1.67.0 ]
13+
# All generated code should be running on stable now, MRSV is 1.68.0
14+
toolchain: [ stable, nightly, 1.68.0 ]
1515
target:
1616
- riscv32i-unknown-none-elf
1717
- riscv32im-unknown-none-elf
@@ -28,9 +28,9 @@ jobs:
2828
- toolchain: nightly
2929
experimental: true
3030
exclude:
31-
- toolchain: 1.67.0
31+
- toolchain: 1.68.0
3232
target: riscv32im-unknown-none-elf
33-
- toolchain: 1.67.0
33+
- toolchain: 1.68.0
3434
target: riscv32imafc-unknown-none-elf
3535
runs-on: ubuntu-latest
3636
continue-on-error: ${{ matrix.experimental || false }}

.github/workflows/riscv.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
build-riscv:
1212
strategy:
1313
matrix:
14-
# All generated code should be running on stable now, MRSV is 1.67.0
15-
toolchain: [ stable, nightly, 1.67.0 ]
14+
# All generated code should be running on stable now, MRSV is 1.68.0
15+
toolchain: [ stable, nightly, 1.68.0 ]
1616
target:
1717
- riscv32i-unknown-none-elf
1818
- riscv32imc-unknown-none-elf

.github/workflows/tests.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
run-build:
2121
strategy:
2222
matrix:
23-
# All generated code should be running on stable now, MRSV is 1.67.0
24-
toolchain: [ stable, nightly, 1.67.0 ]
23+
# All generated code should be running on stable now, MRSV is 1.68.0
24+
toolchain: [ stable, nightly, 1.68.0 ]
2525
target:
2626
- riscv32i-unknown-none-elf
2727
- riscv32im-unknown-none-elf
@@ -37,9 +37,9 @@ jobs:
3737
- toolchain: nightly
3838
experimental: true
3939
exclude:
40-
- toolchain: 1.67.0
40+
- toolchain: 1.68.0
4141
target: riscv32im-unknown-none-elf
42-
- toolchain: 1.67.0
42+
- toolchain: 1.68.0
4343
target: riscv32imafc-unknown-none-elf
4444
runs-on: ubuntu-latest
4545
continue-on-error: ${{ matrix.experimental || false }}

riscv-peripheral/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- Typo in documentation.
13+
1014
## [v0.4.0] - 2025-09-08
1115

1216
### Added

riscv-peripheral/src/aclint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Devices for the Core Local Interruptor (CLINT) and Advanced CLINT (ACLINT) peripherals.
22
//!
3-
//! CLINT pecification: <https://github.com/pulp-platform/clint>
3+
//! CLINT specification: <https://github.com/pulp-platform/clint>
44
//! ACLINT Specification: <https://github.com/riscvarchive/riscv-aclint/blob/main/riscv-aclint.adoc>
55
66
pub mod mswi;

riscv-rt/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
99

1010
### Changed
1111

12+
- Fix clippy warnings in riscv_rt_macros::strip_type_path
13+
- Bump MSRV to 1.68 for latest syn 2.0 release
1214
- Adapted to new `riscv` version.
1315

1416
## [v0.16.0] - 2025-09-08

riscv-rt/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "riscv-rt"
33
version = "0.16.0"
4-
rust-version = "1.67"
4+
rust-version = "1.68"
55
repository = "https://github.com/rust-embedded/riscv"
66
authors = ["The RISC-V Team <risc-v@teams.rust-embedded.org>"]
77
categories = ["embedded", "no-std"]

riscv-rt/macros/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ fn strip_type_path(ty: &Type) -> Option<Type> {
137137
match ty {
138138
Type::Ptr(ty) => {
139139
let mut ty = ty.clone();
140-
ty.elem = Box::new(strip_type_path(&ty.elem)?);
140+
*ty.elem = strip_type_path(&ty.elem)?;
141141
Some(Type::Ptr(ty))
142142
}
143143
Type::Path(ty) => {

riscv/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1616

1717
# Changed
1818

19+
- Bump MSRV to 1.68 for latest version of syn 2.0
1920
- Now, `riscv::pac_enum` macro only includes trap-related code if `rt` or `rt-v-trap` features are enabled.
2021

2122
## [v0.15.0] - 2025-09-08

riscv/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "riscv"
33
version = "0.15.0"
44
edition = "2021"
5-
rust-version = "1.67"
5+
rust-version = "1.68"
66
repository = "https://github.com/rust-embedded/riscv"
77
authors = ["The RISC-V Team <risc-v@teams.rust-embedded.org>"]
88
categories = ["embedded", "hardware-support", "no-std"]

0 commit comments

Comments
 (0)