-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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: manifest path /public/home/litz/mysw/rust-31032ecb1550a402a726e9c244f6a716b214cc9d/src/tools/cargo/Cargo.toml
does not exist
#115041
Comments
I think I am hitting the same issue, running git bisect. Edit: nevermind I missread the issue. |
i see that you downloaded the repo as a .zip, i suggest cloning it and checking out the submodules, then try again (i encountered a similar error message and checking out the submodules solved my issues):
|
It seems like you are downloading the source as a zip file without using Git. During the bootstrapping, we fetch the submodules before invoking Cargo on those paths. However, in your case, since your source doesn't have Git, you don't get the submodules. We should definitely provide better error message for such situations. Thanks for reporting this!
If you haven't read, there is https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html?highlight=build#get-the-source-code. If you don't want to use git, then you can download dist tarballs from static.rust-lang.org(e.g., |
…lubby789 warn if source is not either a git clone or a dist tarball When the repository is downloaded directly via HTTP(as in rust-lang#115041), builds may fail due to missing submodules. This PR adds a check that warns people in such cases.
Rollup merge of rust-lang#116292 - onur-ozkan:warn-wrong-sources, r=clubby789 warn if source is not either a git clone or a dist tarball When the repository is downloaded directly via HTTP(as in rust-lang#115041), builds may fail due to missing submodules. This PR adds a check that warns people in such cases.
here are what I have done to install rust from source, and I am new in rust. can someone offer me some help about this error and give me detailed instruction on how to install rust from source correctly?
cd ./rust-31032ecb1550a402a726e9c244f6a716b214cc9d
./configure --set install.prefix=/public/home/litz/mysw/rust
./x.py build && ./x.py install
The text was updated successfully, but these errors were encountered: