You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like the same thing happens to rustfmt: x b rustfmt doesn't include rustfmt as part of the built rust toolchain, meaning that rustfmt +custom-toolchain doesn't work.
We need to call add_to_sysroot in all of these steps. I think that currently adds all libraries as well which isn't correct - someone should look into how this is done for rustdoc and do the same for the other tools. Take a look around src/bootstrap/compile.rs.
I agree it's a bug that we don't copy these today.
Activity
Kixiron commentedon Jun 5, 2022
@rustbot label +A-rustbuild
WaffleLapkin commentedon Jun 30, 2022
It seems like the same thing happens to rustfmt:
x b rustfmt
doesn't include rustfmt as part of the built rust toolchain, meaning thatrustfmt +custom-toolchain
doesn't work.daxpedda commentedon Jul 23, 2022
The same thing applies to
cargo
andclippy
.jyn514 commentedon Jul 23, 2022
We need to call
add_to_sysroot
in all of these steps. I think that currently adds all libraries as well which isn't correct - someone should look into how this is done for rustdoc and do the same for the other tools. Take a look around src/bootstrap/compile.rs.I agree it's a bug that we don't copy these today.
WaffleLapkin commentedon Sep 18, 2022
@rustbot claim
Emilgardis commentedon Oct 2, 2022
this seems related to #81431
onur-ozkan commentedon Apr 11, 2023
@rustbot claim
Rollup merge of rust-lang#110365 - ozkanonur:ship-tools-with-sysroot,…