-
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
Fix Step Skipping Caused by Using the --exclude
Option
#115088
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @albertlarsan68 (or someone else) soon. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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 for the PR!
Just a little change.
This comment has been minimized.
This comment has been minimized.
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.
Another nit, r=me once fixed!
Thanks for the review! I've addressed the phrasing comments |
@LuuuXXX: 🔑 Insufficient privileges: Not in reviewers |
Thanks for the PR! |
⌛ Testing commit ab28e3f with merge 9fd55f30de49d862e6e89e172babc1ef775dfbd4... |
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
When I run the rust/src/ci/docker/host-x86_64/wasm32/Dockerfile Lines 60 to 62 in feb0673
Maybe another PR is needed to fix the problem in the wasm32 test. |
@bors r=albertlarsan68 |
@LuuuXXX: 🔑 Insufficient privileges: Not in reviewers |
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.
Leave a FIXME for the WASM test
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.
Can you squash the PR?
r=me once done.
modify fuction clond() -> cloned() optimize the code Handle the problem that the pathset is empty and modify the judgment of the builder::tests::test_exclude_kind Delete unnecessary judegment conditions skip test for library/std duo to OOM in benches as library/alloc Add FIXME for WASM32
114f624
to
45abd8c
Compare
@bors r=albertlarsan68 |
@LuuuXXX: 🔑 Insufficient privileges: Not in reviewers |
Thanks for the PR! |
…llaumeGomez Rollup of 6 pull requests Successful merges: - rust-lang#104299 (Clarify stability guarantee for lifetimes in enum discriminants) - rust-lang#115088 (Fix Step Skipping Caused by Using the `--exclude` Option) - rust-lang#115201 (rustdoc: list matching impls on type aliases) - rust-lang#115633 (Lint node for `PRIVATE_BOUNDS`/`PRIVATE_INTERFACES` is the item which names the private type) - rust-lang#115638 (`-Cllvm-args` usability improvement) - rust-lang#115643 (fix: return early when has tainted in mir-lint) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#115088 - LuuuXXX:issue-112009, r=albertlarsan68 Fix Step Skipping Caused by Using the `--exclude` Option The original code was overreacting to the `--exclude` option, https://github.com/rust-lang/rust/blob/eadf69a6c6edfe220fc5b1b659e46e271d75a3a1/src/bootstrap/builder.rs#L257-L260 For example: When `x test --exclude alloc` or `x test --exclude library/alloc` is passed, the entire libraray test is skipped. Related issues: rust-lang#112009
The original code was overreacting to the
--exclude
option,rust/src/bootstrap/builder.rs
Lines 257 to 260 in eadf69a
For example:
When
x test --exclude alloc
orx test --exclude library/alloc
is passed, the entire libraray test is skipped.Related issues:
#112009