-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Warn when checking library/std
when profile = "compiler"
#78466
Comments
@varkor can you give an example of code that succeeds for check but fails for build? |
I edited some code in |
@varkor I think this is actually related to staging: |
@jyn514: |
@varkor yes, the same as build. If you run |
@jyn514: are you saying that |
@varkor yes: |
x.py check library/std
does not work analogously to x.py build library/std
x.py check library/std
always uses stage 0
Okay, I see. I don't necessarily think there needs to be an option to change the stage: it should just match whatever |
@varkor well, if it matches |
(continued on Zulip so there's lower latency: https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/x.2Epy.20check.20stage.200) |
We decided the best approach is to warn on |
x.py check library/std
always uses stage 0library/std
when profile = "compiler"
I changed the title since #46955 already tracks --stage 1 support for |
This would be helped by my proposal in https://jyn.dev/2023/01/12/Bootstrapping-Rust-in-2023.html. |
I expect these two commands to do the same thing, but for
check
orbuild
, respectively. However,check
may succeed even ifbuild
fails type checking. I suspect the syntax forcheck
is a subset of that forbuild
.The text was updated successfully, but these errors were encountered: