Skip to content

Conversation

@Wilfred
Copy link
Contributor

@Wilfred Wilfred commented Aug 15, 2023

This PR has two commits, so it's probably easier to review them separately:

(1) Rename CargoHandle to CommandHandle, as the command may not be a cargo command.

(2) Logging should format the current command, rather than calling check_command() again. This ensures that any later configuration changes don't cause us to log incorrect information.

This handle wraps an arbitrary command, which might be a rustc command
rather than cargo.
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 15, 2023
@Veykril
Copy link
Member

Veykril commented Aug 29, 2023

@bors r+

@bors
Copy link
Contributor

bors commented Aug 29, 2023

📌 Commit e286640 has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Aug 29, 2023

⌛ Testing commit e286640 with merge b06503b...

@bors
Copy link
Contributor

bors commented Aug 29, 2023

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

@bors bors merged commit b06503b into rust-lang:master Aug 29, 2023
@lnicola lnicola changed the title Fix cargo handle logging in flycheck internal: Fix cargo handle logging in flycheck Aug 29, 2023
@Wilfred Wilfred deleted the command_handle_fixes branch August 29, 2023 15:52
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.

4 participants