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

Remove unused crate proc-macro-error #992

Open
wants to merge 3 commits into
base: release/v1
Choose a base branch
from

Conversation

epontan
Copy link

@epontan epontan commented Nov 4, 2024

The proc-macro-error crate is unmaintained1 and is causing cargo audit failures1. Since the create is not even used by rtic, just remove it as a dependency.

Since Rust 1.80 there is automatic compile-time checks for unexpected
cfgs.

Ensure that `have_basepri` cfg is known by the compiler emitting it in
the build.rs.
@epontan epontan force-pushed the remove-proc-macro-error branch from ee73261 to dd57311 Compare November 5, 2024 09:42
The `proc-macro-error` crate is unmaintained[1] and is causing `cargo
audit` failures[1]. Since the create is not even used by `rtic`, just
remove it as a dependency.

[1]: https://rustsec.org/advisories/RUSTSEC-2024-0370.html
@epontan epontan force-pushed the remove-proc-macro-error branch from dd57311 to e24b219 Compare November 5, 2024 10:13
@epontan
Copy link
Author

epontan commented Nov 5, 2024

I realize that there is still a bunch of compilation issues left for this release branch. Is this change something that you are willing to take in and release for the v1 track? I just want to get confirmation of that before I spend too much time trying to fix things.

@AfoHT
Copy link
Contributor

AfoHT commented Nov 20, 2024

I think it's a good thing, and as there should be no functional change I don't see why not. The work you're doing is appreciated!

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.

2 participants