-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
rustbuild: Use src/rustc for assembled compilers #38076
Conversation
The `src/rustc` path is intended for assembling a compiler (e.g. the bare bones) not actually compiling the whole compiler itself. This path was accidentally getting hijacked to represent the whole compiler being compiled, so let's redirect that elsewhere for that particular cargo project. Closes rust-lang#38039
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
With this and #38050, following the repro steps in #38039 (comment) results in rustbuild doing no work:
(I haven't tried this PR in isolation) |
(I haven't tried this PR in isolation) Tested. Same problem. |
er #37817 |
OK. Tested again this + #37817. Using the repro instructions in #38039 (comment), now I get:
Which is better but the stage numbering seems strange:
Is this using the "snapshot" (the stage0 compiler) to build the ARM compiler? Or is it using the compiler produced by this step:
? If the former then that ^ step (or rather, the first 4 steps) wouldn't be necessary right? EDIT: Fixed the x.py command |
Had some discussion with @japaric on IRC, and the conclusion was that if the command switches |
r=me after #37817 lands |
@bors r+ |
📌 Commit 8e9f7f5 has been approved by |
rustbuild: Use src/rustc for assembled compilers The `src/rustc` path is intended for assembling a compiler (e.g. the bare bones) not actually compiling the whole compiler itself. This path was accidentally getting hijacked to represent the whole compiler being compiled, so let's redirect that elsewhere for that particular cargo project. Closes #38039
The
src/rustc
path is intended for assembling a compiler (e.g. the bare bones)not actually compiling the whole compiler itself. This path was accidentally
getting hijacked to represent the whole compiler being compiled, so let's
redirect that elsewhere for that particular cargo project.
Closes #38039