Skip to content
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

feat: Allow cargo check to run on only the current package #16510

Merged
merged 1 commit into from Feb 8, 2024

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Feb 8, 2024

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 8, 2024
@Veykril
Copy link
Member Author

Veykril commented Feb 8, 2024

@bors r+

@bors
Copy link
Collaborator

bors commented Feb 8, 2024

📌 Commit 0258f60 has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Feb 8, 2024

⌛ Testing commit 0258f60 with merge ae89522...

@bors
Copy link
Collaborator

bors commented Feb 8, 2024

☀️ Test successful - checks-actions
Approved by: Veykril
Pushing ae89522 to master...

@bors bors merged commit ae89522 into rust-lang:master Feb 8, 2024
11 checks passed
@@ -503,7 +503,7 @@ impl GlobalState {
let mut crate_graph_file_dependencies = FxHashSet::default();

let mut load = |path: &AbsPath| {
let _p = tracing::span!(tracing::Level::INFO, "switch_workspaces::load").entered();
let _p = tracing::span!(tracing::Level::DEBUG, "switch_workspaces::load").entered();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's up to you, but this change means that hprof won't pick up on this span.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My base logs became completely useless due to that trace hence the change. Should be fine not to have that included in hprof

@Veykril Veykril deleted the single-package-check branch February 8, 2024 21:36
@lnicola
Copy link
Member

lnicola commented Feb 12, 2024

@Veykril do you want to keep #12882 open?

@Veykril
Copy link
Member Author

Veykril commented Feb 12, 2024

Not sure, this only solves the problem for cargo based workspaces. Not for full command overrides.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants