-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Treat "proc-macro" crate type the same as proc-macro = true
#6256
Conversation
This is a breaking change if you say: crate-type = ["proc-macro"]
plugin = true Found this in the https://crates.io/crates/arthas_derive package. Do you think it is worth detecting this scenario and allowing it with a warning? |
5b8301c
to
f867f45
Compare
Nice catch on that regression, yeah let's emit a warning for now for that. Additionally, could a warning be printed to say that |
f867f45
to
b0e767f
Compare
Added some warnings. I also added a check for multiple crate-types, just to assert an assumption, but maybe that's not necessary (rustc has the same check). |
@bors: r+ |
📌 Commit b0e767f has been approved by |
Treat "proc-macro" crate type the same as `proc-macro = true` Effectively closes #5310 since they are now identical.
☀️ Test successful - status-appveyor, status-travis |
Effectively closes #5310 since they are now identical.