-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Missed nightly feature proc_macro_byte_character
#451
Comments
This being missing makes me unable to use |
It looks like you are using an old nightly compiler. In general, old nightly compilers are not supported. The expectation is that if you are using a nightly toolchain, then you are remaining on top of recent nightly changes. If you need to pin to an old nightly toolchain, then you would need to use corresponding old crate versions, too (such as via a lockfile). |
The [patch.crates-io]
proc-macro2 = { git = "https://github.com/dtolnay/proc-macro2", rev = "4ba4ab1ec52d9e8286826a898430683ba002a002" } |
Actually, thinking about it, the version in |
@dtolnay Just to provide some context, the reason we pin older nightlies for Rust on AVR is that there are compiler regressions in the AVR backend from time to time. This has two implications:
Such is the life of a tier 3 target...
This is a bit unfortunate, as for the stated reason, we A) cannot always upgrade nightly and B) this makes regression-hunting quite difficult if certain crates break with not-that-old compiler versions.
This is a good pointer though, I guess we can try doing that for crates that are AVR-specific. This of course won't work as soon as any non-platform-specific crate in the dependency tree pulls in later versions... |
@mikkelens No, it is not. It is hard-coded here and we update it when we have a new known-to-work compiler version. |
Crate: 1.0.80
Rustc:
1.79.0-nightly (8df7e723e 2024-03-30)
I suppose there should be crate attribute:
Probably this is not a problem because
proc_macro_c_str_literals
was stabilised nearly, so 🤷🏻♂️.The text was updated successfully, but these errors were encountered: