Skip to content

Commit 9d3fb05

Browse files
Merge pull request #221 from agarof/update-syn
riscv-rt-macros: update syn to v2.0
2 parents 28e9b02 + e537a56 commit 9d3fb05

File tree

6 files changed

+8
-9
lines changed

6 files changed

+8
-9
lines changed

.github/workflows/riscv-rt.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
build:
1111
strategy:
1212
matrix:
13-
# All generated code should be running on stable now, MRSV is 1.60.0
14-
toolchain: [ stable, nightly, 1.60.0 ]
13+
# All generated code should be running on stable now, MRSV is 1.61.0
14+
toolchain: [ stable, nightly, 1.61.0 ]
1515
target:
1616
- riscv32i-unknown-none-elf
1717
- riscv32imc-unknown-none-elf

riscv-rt/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ If `v-trap` feature is enabled, this macro also generates its corresponding trap
2222
- Made `cfg` variable selection more robust for custom targets
2323
- `_start_trap_rust` now only deals with exceptions. When an interrupt is detected, it now calls
2424
to `_dispatch_interrupt`.
25+
- Upgrade rust-version to 1.61
26+
- Update `syn` to version 2.0
2527

2628
### Removed
2729

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.13.0"
4-
rust-version = "1.60"
4+
rust-version = "1.61"
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/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This project is developed and maintained by the [RISC-V team][team].
1111

1212
## Minimum Supported Rust Version (MSRV)
1313

14-
This crate is guaranteed to compile on stable Rust 1.60 and up. It *might*
14+
This crate is guaranteed to compile on stable Rust 1.61 and up. It *might*
1515
compile with older versions but that may change in any new patch release.
1616

1717
## License

riscv-rt/macros/Cargo.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ proc-macro = true
1818
[dependencies]
1919
quote = "1.0"
2020
proc-macro2 = "1.0"
21-
22-
[dependencies.syn]
23-
version = "1.0"
24-
features = ["extra-traits", "full"]
21+
syn = { version = "2.0", features = ["extra-traits", "full"] }
2522

2623
[features]
2724
s-mode = []

riscv-rt/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//!
33
//! # Minimum Supported Rust Version (MSRV)
44
//!
5-
//! This crate is guaranteed to compile on stable Rust 1.60 and up. It *might*
5+
//! This crate is guaranteed to compile on stable Rust 1.61 and up. It *might*
66
//! compile with older versions but that may change in any new patch release.
77
//!
88
//! # Features

0 commit comments

Comments
 (0)