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

Replace println with print_warning in Build::try_get_compiler #1051

Closed
wants to merge 3 commits into from

Conversation

NobodyXu
Copy link
Collaborator

@NobodyXu NobodyXu commented May 4, 2024

A println would not be seen by user unless -v is passed to cargo, using print_warning here makes more sense as user can see the message by default and also disable it if they don't want to see it.

A println would not be seen by user unless -v is passed to cargo, using print_warning here makes more sense as user can see the message by default and also disable it if they don't want to see it.
@NobodyXu NobodyXu requested a review from thomcc May 4, 2024 00:13
@thomcc
Copy link
Member

thomcc commented May 4, 2024

Hmm, isn't this a setting they requested? Why does it make sense to warn on things the user asks for?

@NobodyXu
Copy link
Collaborator Author

NobodyXu commented May 5, 2024

Hmm, isn't this a setting they requested? Why does it make sense to warn on things the user asks for?

Hmmm yeah...Maybe it makes more sense to remove this completely

@NobodyXu NobodyXu closed this May 5, 2024
@NobodyXu NobodyXu deleted the NobodyXu-patch-1 branch May 5, 2024 01:23
@NobodyXu
Copy link
Collaborator Author

NobodyXu commented May 5, 2024

@thomcc I opened #1063 to remove the println

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants