-
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 .../src/tools/cargo/Cargo.toml
does not exist
#119720
Comments
what's the content of your |
Here's a copy of it that got generated using the
And my normal config file that does not trigger this:
|
This answer may be helpful when you download source as a zip package : #115041 (comment) If the source code is obtained through
|
I tried this code:
Behavior somehow changed recently where
src/tools/cargo
directory is now empty in both online tar.gz source file as well as using agit clone https://github.com/rust-lang/rust.git
, thus failing at build time due to missing Cargo.toml from the cargo directory.This looks similar to #115041 whereas invoking submodule init & update does populate the cargo directory at the expense of more than 4GB extra storage (not mentionning the build overhead time).
Note that this wasn't hapening using git clone as of last october.
EDIT: it seems that using
git submodule init && git submodule update src/tools/cargo
does the trick at populating only that subdirectory.The text was updated successfully, but these errors were encountered: