-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Always build miri for the host in x run miri
#145841
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
Conversation
This PR modifies If appropriate, please update |
@RalfJung Could you please check if this PR fixes the issue for you? With the changes from this PR, I was able to build miri, but the actual
|
That's definitely not expected, that indicates an invalid rlib so something got seriously mixed up. |
When I build miri with stage 0 rustc, and miri links to stage 1 rustc, then |
That's just invoking a binary? Not sure what you mean.
|
FWIW |
☔ The latest upstream changes (presumably #145472) made this pull request unmergeable. Please resolve the merge conflicts. |
Needs a rebase. |
This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
Rebased. @rustbot ready |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, tiny doc question
Feel free to r=me with or without the doc nit. |
@rustbot author |
@bors r=jieyouxu rollup |
Rollup of 11 pull requests Successful merges: - #144373 (remove deprecated Error::description in impls) - #144551 (Add aarch64_be-unknown-linux-musl target) - #145076 (Add new Tier-3 target: riscv64a23-unknown-linux-gnu) - #145481 (Add parentheses for closure when suggesting calling closure) - #145596 (Losslessly optimize PNG files) - #145615 (Fix doc of `std::os::windows::io::BorrowedSocket::borrow_raw`) - #145841 (Always build miri for the host in `x run miri`) - #145861 (bootstrap: vendor `clippy_test_deps` too) - #145863 (formatting_options: Make all methods `const`) - #145867 (cg_llvm: Assert that LLVM range-attribute values don't exceed 128 bits) - #145875 (Make bootstrap command caching opt-in) r? `@ghost` `@rustbot` modify labels: rollup
Thanks :-) |
Previously we were building Miri for the passed
--target
, which was wrong.Fixes: #145839
r? @jieyouxu