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

Use locked svd2rust #161

Merged
merged 2 commits into from
Oct 12, 2024
Merged

Use locked svd2rust #161

merged 2 commits into from
Oct 12, 2024

Conversation

Rahix
Copy link
Owner

@Rahix Rahix commented Oct 12, 2024

Due to a regression caused by proc-macro2, we have to use a locked version of svd2rust to successfully build the code in this crate.

Due to a regression caused by proc-macro2 [1], we have to use a locked
version of svd2rust to successfully build the code in this crate.
Document this in the installation instructions.

[1]: rust-embedded/svd2rust#863
Instead, directly call `cargo install` to install the rust tools.
Additionally, in light of the recent proc-macro2 regression in svd2rust,
pass the `--locked` flag, to ensure the correct and deterministic
versions get built.
@Rahix Rahix marked this pull request as ready for review October 12, 2024 19:00
@Rahix Rahix merged commit 2efc037 into main Oct 12, 2024
2 checks passed
@Rahix Rahix deleted the proc-macro-regression branch October 12, 2024 19:00
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

Successfully merging this pull request may close these issues.

Error during code generation: unsupported proc macro punctuation character '{'
1 participant