-
Notifications
You must be signed in to change notification settings - Fork 377
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
rust-toolchain should update #92
Comments
However, You need to run
if you do not run |
Hi, have you ever met the toolchain version problem while compiling under directory in which the toolchain version is make[1]: Entering directory '/home/ubuntu/rust/RustOS/rboot'
cargo build -Z build-std=core,alloc --target x86_64-unknown-uefi --release
error: failed to download `proc-macro2 v1.0.66`
Caused by:
unable to get packages from source
Caused by:
failed to parse manifest at `/home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.66/Cargo.toml`
Caused by:
failed to parse the `edition` key
Caused by:
this version of Cargo is older than the `2021` edition, and only supports `2015` and `2018` editions. |
fine, seems won't be maintained anymore... |
you can change version in "./rust-toolchain". Just like I said before: Successfully run after updating the content of rust-toolchain to nightly-2022-06-27 |
oh, that's crazy. I just tried to switch it to the latest one and got tons of errors... how did you find the exact version number that works fine? |
I'm not quite sure. Perhaps your default version was modified to the old version when you ran an error earlier. You can use the following command to view the current default or override version, switch or delete versions and try again.
|
run
make sfsimg PREBUILT=1 ARCH=riscv32
Caused by:
this version of Cargo is older than the
2021
edition, and only supports2015
and2018
editions.Makefile:301: recipe for target 'rcore-fs-fuse' failed
Successfully run after updating the content of rust-toolchain to nightly-2022-06-27.
The text was updated successfully, but these errors were encountered: