-
-
Notifications
You must be signed in to change notification settings - Fork 779
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
use of unstable library feature 'proc_macro_byte_character' #2376
Comments
I think that issue is caused by building with an older nightly compiler. You can try:
Running |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I run cargo install dioxus-cli, but I get an error.
The operating system is win11. The full error is below:
error[E0658]: use of unstable library feature 'proc_macro_byte_character'
--> D:\develop\rust\cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\proc-macro2-1.0.81\src\wrapper.rs:871:21
|
871 | proc_macro::Literal::byte_character(byte)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #115268 rust-lang/rust#115268 for more information
= help: add
#![feature(proc_macro_byte_character)]
to the crate attributes to enable= note: this compiler was built on 2024-04-01; consider upgrading it if it is out of date
Compiling pin-project-lite v0.2.14
error[E0658]: use of unstable library feature 'proc_macro_c_str_literals'
--> D:\develop\rust\cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\proc-macro2-1.0.81\src\wrapper.rs:898:21
|
898 | proc_macro::Literal::c_string(string)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #119750 rust-lang/rust#119750 for more information
= help: add
#![feature(proc_macro_c_str_literals)]
to the crate attributes to enable= note: this compiler was built on 2024-04-01; consider upgrading it if it is out of date
For more information about this error, try
rustc --explain E0658
.error: could not compile
proc-macro2
(lib) due to 2 previous errorswarning: build failed, waiting for other jobs to finish...
error: failed to compile
dioxus-cli v0.5.2 (https://github.com/DioxusLabs/dioxus#74352f2f)
, intermediate artifacts can be found atD:\data\temp\cargo-installNf9hGY
.To reuse those artifacts with a future compilation, set the environment variable
CARGO_TARGET_DIR
to that path.C:\Users\86187>
The text was updated successfully, but these errors were encountered: