-
Notifications
You must be signed in to change notification settings - Fork 465
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set windows-implement min rust-version #1773
Conversation
As part of #1771 I planned to remove the nightly restriction for testing. It is not sufficient to set the https://github.com/microsoft/windows-rs/blob/master/crates/tools/yml/src/main.rs |
OK, do you mean that you would like me to add |
Updating the yml generation is a much bigger job - happy for you to do it if you're in a hurry - but equally happy for you to wait until I've wrapped that up in a few days. I'm just not comfortable updating the rust-version without testing. I hope to get that done next week. |
OK, what about updating just |
Yep, it's only testing with nightly. I think the change is harmless now that 1.61 is stable, so I'll take it but yeah there's more work to be done. |
I think this may have already made the conditional MSRV work. When you add the |
Yep... 馃槃 Although testing that would mean having to have different runs for the different min versions. |
Both the
#[implement]
macro and theimplement
feature inwindows
require newly stabilized features inrustc
1.61 (which just hit stable 馃帀). We can specify it on the macro crate so anyone who wants to use the macro knows they need to update their toolchain and gets a clear error message if they don't.I don't think you can specify a conditional
rust-version
which depends on the feature, but if there's a way to do that it would make sense to add it to thewindows
crate as well.