-
Notifications
You must be signed in to change notification settings - Fork 116
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-src
component not found.
#70
Comments
It does look like |
@ascjones ========================= This looks like a version upgrade issue. I'm not very familiar with Rust, I'm not sure. |
Yeah mine is also |
@ascjones |
After I installed the old version nightly, The problem was solved. When installing rust-src, It also need to specify the version. like |
See #71, I won't merge this yet but you can install from the PR branch if you want to use it in the meantime. |
@aniiantt Bumping |
Upgrading cargo-xbuild didn't seem to work for me. |
When I execute cargo +nightly Contract build, I got an error.
But I think I have rust-src installed, and the
rustup component list | grep rust-src
also shows that I have rust-src installed.I tried to specify
rust-src
manually throughexport XARGO_RUST_SRC=/home/nzzt/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library
, and I succeeded in the next step, but unfortunately another error occurred.I checked the directory on my computer and found that it didn't match the actual directory.
The text was updated successfully, but these errors were encountered: