-
Notifications
You must be signed in to change notification settings - Fork 14.1k
bootstrap: add rustc-dev install target #149655
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
base: main
Are you sure you want to change the base?
Conversation
|
The job Click to see the possible cause of the failure (guessed by this bot) |
You mean a sysroot that has compiler rlibs available? |
IIUC
IIUC we just need to update the golden/expected snapshots - i.e. add rust/src/bootstrap/src/core/builder/tests.rs Line 2914 in b33119f
|
|
I'm a bit hesistant on adding ./x install rustc-dev, since like Jakub said, that dist component is intended for rustc_private tools, so its not clear to me what ./x install rustc-dev is supposed to mean. I'll pull this into a bootstrap zulip thread a bit later. EDIT: oh, I guess it's #general > Help building and **installing** `rustc_driver` et al |
I'm entirely new to bootstrap but there seemed to be no easy way to construct a sysroot with tools and librustc_driver.so.
./x installis the command for that but as far as I can tell it doesn't include the rustc-dev files. This is my attempt at adding that../x install rustc-devnow does what you expect (at least on my machine™). If I'm understanding correctly this also means that./x installwill now include rustc-dev files ifbuild.toolscontains"rustc-dev".