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

Support cargo-valgrind #20

Merged
merged 1 commit into from
Aug 28, 2022
Merged

Support cargo-valgrind #20

merged 1 commit into from
Aug 28, 2022

Conversation

messense
Copy link
Contributor

cargo-valgrind is a cargo subcommand extends cargo with the capability to directly run valgrind on any crate executable.

@@ -459,6 +484,7 @@ for tool in "${tools[@]}"; do
info "${tool} installed at $(type -P "${bin}")"
case "${bin}" in
"cargo-udeps${exe}") x cargo udeps --help | head -1 ;; # cargo-udeps v0.1.30 does not support --version option
"cargo-valgrind${exe}") x cargo valgrind --help ;; # cargo-valgrind v2.1.0 does not support --version option
Copy link
Contributor Author

@messense messense Aug 28, 2022

Choose a reason for hiding this comment

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

The help text isn't too long so I've opted to not pipe to head to avoid failed printing to stdout: The pipe is being closed panic on Windows.

Copy link
Owner

@taiki-e taiki-e left a comment

Choose a reason for hiding this comment

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

Thanks!

@taiki-e taiki-e merged commit 2962aaf into taiki-e:main Aug 28, 2022
@taiki-e
Copy link
Owner

taiki-e commented Aug 28, 2022

Published in 1.12.0.

@messense messense deleted the cargo-valgrind branch August 28, 2022 08:40
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.

2 participants