-
Notifications
You must be signed in to change notification settings - Fork 13.4k
redesign stage 0 std follow-ups #141914
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
redesign stage 0 std follow-ups #141914
Conversation
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.
Looks good to me modulo changelog entry and a nit.
Consistent with what we discussed in #t-infra/bootstrap > Stage 0 std redesign support thread @ 💬.
This comment has been minimized.
This comment has been minimized.
6692543
to
118eb4c
Compare
This PR modifies If appropriate, please update |
@@ -27,6 +27,7 @@ COPY scripts/sccache.sh /scripts/ | |||
RUN sh /scripts/sccache.sh | |||
|
|||
ENV SCRIPT \ | |||
python3 ../x.py check --stage 0 && \ |
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.
I am not entirely sure about this yet. If it makes the pipeline too long, we can consider moving it to some other PR pipeline.
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.
It still seems to be roughly the same duration as mingw-check-1
(only about 3.5 minutes longer).
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.
Yeah this seems fine.
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.
Not needed anymore. It's still needed actually. I will keep it.
This comment has been minimized.
This comment has been minimized.
For a second opinion of hard-error on check library at explicit stage 0. |
If I want to check the standard library, how would I do so with this PR? |
|
@rustbot ready |
We probably want some quicker action on this. r? Kobzol |
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.
Left some comments, but if we switch the default stage of check
back to 0
, it won't be relevant anymore, I guess :)
@@ -27,6 +27,7 @@ COPY scripts/sccache.sh /scripts/ | |||
RUN sh /scripts/sccache.sh | |||
|
|||
ENV SCRIPT \ | |||
python3 ../x.py check --stage 0 && \ |
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.
Yeah this seems fine.
This PR modifies If appropriate, please update |
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
I thought the same, but then I realized that we run |
if is_explicitly_called { | ||
eprintln!("WARNING: stage 0 std is precompiled and does nothing during `x check`."); | ||
} |
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.
Should we give this warning unconditionally, or keep it as it is?
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.
I would only keep it when the library was explicitly requested, so this seems fine.
This is changed. To check library, you should either do cc @bjorn3 |
Looks good. You can r=me once CI is green. |
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Updated again (sorry). Now you just need to run |
This was pushed after you approved the PR. Are you okay with that commit as well? |
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Yeah, I'm fine with that. |
@bors r+ r=Kobzol |
I think I have never seen bors duplicating the merge message before. 🤔 |
You wrote r+ and r= :D |
lol, seems like I didn't sleep enough |
Rollup of 8 pull requests Successful merges: - #141724 (fix(#141141): When expanding `PartialEq`, check equality of scalar types first.) - #141833 (`tests/ui`: A New Order [2/N]) - #141861 (Switch `x86_64-msvc-{1,2}` back to Windows Server 2025 images) - #141914 (redesign stage 0 std follow-ups) - #141918 (Deconstruct values in the THIR visitor) - #141923 (Update books) - #141931 (Deconstruct values in the THIR visitor) - #141956 (Remove two trait methods from cg_ssa) r? `@ghost` `@rustbot` modify labels: rollup
Various follow-ups pointed out on Zulip during post-merge discussions of redesign stage 0 std #119899.
r? @jieyouxu
Fixes #141902.
Fixes #141905.
cc @jyn514