rust-embedded / rust-embedded/svd2rust
`gen` is a reserved keyword in Rust 2024 edition
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 857
- Forks
- 164
- PR merge metrics
- No merged PRs in 30d
Description
Since gen is a reserved keyword in the Rust 2024 edition, it must be added to the KEYWORDS const in sanitize_keywords: https://github.com/rust-embedded/svd2rust/blob/master/src/util.rs#L135-L142, otherwise crates build with Rust 2024 will give compiler errors.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/util.rs at the sanitize_keywords function and its KEYWORDS constant. Add the Rust 2024 reserved keyword noted in the issue, then verify that generated crates build successfully with the Rust 2024 edition.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100