Skip to content

Commit

Permalink
Merge pull request #221 from agarof/update-syn
Browse files Browse the repository at this point in the history
riscv-rt-macros: update syn to v2.0
  • Loading branch information
romancardenas authored Jun 27, 2024
2 parents 28e9b02 + e537a56 commit 9d3fb05
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/riscv-rt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
build:
strategy:
matrix:
# All generated code should be running on stable now, MRSV is 1.60.0
toolchain: [ stable, nightly, 1.60.0 ]
# All generated code should be running on stable now, MRSV is 1.61.0
toolchain: [ stable, nightly, 1.61.0 ]
target:
- riscv32i-unknown-none-elf
- riscv32imc-unknown-none-elf
Expand Down
2 changes: 2 additions & 0 deletions riscv-rt/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ If `v-trap` feature is enabled, this macro also generates its corresponding trap
- Made `cfg` variable selection more robust for custom targets
- `_start_trap_rust` now only deals with exceptions. When an interrupt is detected, it now calls
to `_dispatch_interrupt`.
- Upgrade rust-version to 1.61
- Update `syn` to version 2.0

### Removed

Expand Down
2 changes: 1 addition & 1 deletion riscv-rt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "riscv-rt"
version = "0.13.0"
rust-version = "1.60"
rust-version = "1.61"
repository = "https://github.com/rust-embedded/riscv"
authors = ["The RISC-V Team <risc-v@teams.rust-embedded.org>"]
categories = ["embedded", "no-std"]
Expand Down
2 changes: 1 addition & 1 deletion riscv-rt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This project is developed and maintained by the [RISC-V team][team].

## Minimum Supported Rust Version (MSRV)

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

## License
Expand Down
5 changes: 1 addition & 4 deletions riscv-rt/macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ proc-macro = true
[dependencies]
quote = "1.0"
proc-macro2 = "1.0"

[dependencies.syn]
version = "1.0"
features = ["extra-traits", "full"]
syn = { version = "2.0", features = ["extra-traits", "full"] }

[features]
s-mode = []
Expand Down
2 changes: 1 addition & 1 deletion riscv-rt/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//!
//! # Minimum Supported Rust Version (MSRV)
//!
//! This crate is guaranteed to compile on stable Rust 1.60 and up. It *might*
//! This crate is guaranteed to compile on stable Rust 1.61 and up. It *might*
//! compile with older versions but that may change in any new patch release.
//!
//! # Features
Expand Down

0 comments on commit 9d3fb05

Please sign in to comment.