-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
"Alternatively, use the pre-vendored rustc-src
dist component" is confusing
#110163
Comments
Oh this is very funny, Mentoring instructions: rust/src/bootstrap/bootstrap.py Line 830 in b56fcb1
|
Hmm, I guess for this particular scenario you might be building from a commit other than latest master as well. We do technically package it for individual commits:
but AFAIK that isn't documented anywhere. Maybe we should add it to forge? |
@rustbot claim |
hello, i'm taking the liberty of claiming this pull request, but I'd like some information. Should I propose a solution (like the curl command with the right url?) or just propose the documentation page? |
@rustbot claim |
@rustbot claim |
Rollup merge of rust-lang#120403 - seqre-contrib:pre-vendored-message, r=onur-ozkan Add instructions of how to use pre-vendored 'rustc-src' This PR closes rust-lang#110163. I had to move the URL to the left, making it not aligned as it is three lines above, but the tidy check would yell at me otherwise. If that's not acceptable, I'd love some suggestions on how to make it better. One question: in the original issue (rust-lang#110163 (comment)), it was suggested to mention how to download specific commit tarballs; however, it was said it's not documented anywhere, so I did not include that yet. If there is a want to have that, I'd gladly amend the commit.
…ozkan Add instructions of how to use pre-vendored 'rustc-src' This PR closes #110163. I had to move the URL to the left, making it not aligned as it is three lines above, but the tidy check would yell at me otherwise. If that's not acceptable, I'd love some suggestions on how to make it better. One question: in the original issue (rust-lang/rust#110163 (comment)), it was suggested to mention how to download specific commit tarballs; however, it was said it's not documented anywhere, so I did not include that yet. If there is a want to have that, I'd gladly amend the commit.
Code
While logged in as
root
on Linux::cd rust; ./x.py build
Current output
Desired output
The suggestion to run
cargo vendor
isn't helpful if you don't already have a Rust toolchain installed. That leaves: "Alternatively, use the pre-vendoredrustc-src
dist component." It's completely unclear to me what this means or how to do it. Perhaps providing a link to documentation would be useful.The text was updated successfully, but these errors were encountered: