Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gen is a reserved keyword in Rust 2024 edition #927

Open
mdbernard opened this issue Apr 2, 2025 · 0 comments
Open

gen is a reserved keyword in Rust 2024 edition #927

mdbernard opened this issue Apr 2, 2025 · 0 comments

Comments

@mdbernard
Copy link
Contributor

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.

mdbernard added a commit to mdbernard/svd2rust that referenced this issue Apr 3, 2025
mdbernard added a commit to mdbernard/svd2rust that referenced this issue Apr 3, 2025
mdbernard added a commit to mdbernard/svd2rust that referenced this issue Apr 4, 2025
mdbernard added a commit to mdbernard/svd2rust that referenced this issue Apr 4, 2025
github-merge-queue bot pushed a commit that referenced this issue Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant