Skip to content
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

x build src/tools/miri doesn't install miri as part of the built toolchain #97762

Closed
Kixiron opened this issue Jun 5, 2022 · 7 comments · Fixed by #110365
Closed

x build src/tools/miri doesn't install miri as part of the built toolchain #97762

Kixiron opened this issue Jun 5, 2022 · 7 comments · Fixed by #110365
Assignees
Labels
C-bug Category: This is a bug. E-help-wanted Call for participation: Help is requested to fix this issue. E-medium Call for participation: Medium difficulty. Experience needed to fix: Intermediate. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@Kixiron
Copy link
Member

Kixiron commented Jun 5, 2022

Running x build src/tools/miri doesn't include miri as part of the built rust toolchain, meaning that cargo +custom-toolchain miri doesn't work

cc @jyn514

@Kixiron Kixiron added the C-bug Category: This is a bug. label Jun 5, 2022
@Kixiron
Copy link
Member Author

Kixiron commented Jun 5, 2022

@rustbot label +A-rustbuild

@rustbot rustbot added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Jun 5, 2022
@WaffleLapkin
Copy link
Member

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.

@daxpedda
Copy link
Contributor

The same thing applies to cargo and clippy.

@jyn514
Copy link
Member

jyn514 commented 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.

@jyn514 jyn514 added E-help-wanted Call for participation: Help is requested to fix this issue. E-medium Call for participation: Medium difficulty. Experience needed to fix: Intermediate. labels Jul 23, 2022
@WaffleLapkin
Copy link
Member

@rustbot claim

@Emilgardis
Copy link
Contributor

this seems related to #81431

@onur-ozkan
Copy link
Member

@rustbot claim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. E-help-wanted Call for participation: Help is requested to fix this issue. E-medium Call for participation: Medium difficulty. Experience needed to fix: Intermediate. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants