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

Could you add --config as option for cargo flamegraph? #320

Open
Crispy13 opened this issue Apr 25, 2024 · 3 comments
Open

Could you add --config as option for cargo flamegraph? #320

Crispy13 opened this issue Apr 25, 2024 · 3 comments

Comments

@Crispy13
Copy link

cargo build --release --config=profile.release.debug=true

It would be good to use cargo-flamegraph like the above.

@djc
Copy link
Contributor

djc commented Apr 25, 2024

What are you trying to do, and why do you need new interface for it?

@Crispy13
Copy link
Author

I just thought it would be nice to be able to give flamegraph a temporary setting instead of modifying the Cargo.toml file and restoring it.

@djc
Copy link
Contributor

djc commented Apr 26, 2024

Well, if you want to submit a PR for it I can take a look.

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

No branches or pull requests

2 participants