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

error[E0658]: use of unstable library feature 'proc_macro_byte_character' #30

Closed
vidurkhanal opened this issue Apr 15, 2024 · 3 comments

Comments

@vidurkhanal
Copy link

Compiling the template as it is compiles two errors: error[E0658]: use of unstable library feature 'proc_macro_byte_character' and error[E0658]: use of unstable library feature 'proc_macro_c_str_literals'. Setting crate features at the top of the entry main.rs doesn't solve the problem.

However changing channel from nightly-2024-03-22 to just nightly compiles the code. Was I supposed to update the channel in the tool chain.

@BenCaunt
Copy link

I'm having the same issues compiling for the Arduino Leonardo variant (not certain that it should matter).

Compiled on nightly-aarch64-apple-darwin unchanged - rustc 1.79.0-nightly (ccfcd950b 2024-04-15).

@Rahix
Copy link
Owner

Rahix commented Apr 18, 2024

More info in Rahix/avr-hal#537.

@Rahix
Copy link
Owner

Rahix commented Apr 18, 2024

I've pushed commit 4c3e6b0 ("Pin proc-macro2 to an older version") so new projects generated from the template should not have the problem anymore.

@Rahix Rahix closed this as completed Apr 18, 2024
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

No branches or pull requests

3 participants