Closed maoe closed 2 years ago
This should also get rebased now that #61 is landed :)
Another thought:
We could also do something fancy, where if there's a profile named 'instruments' then we use it by default? 🤔
Thanks for reviewing this. Rebased and force-pushed.
This patch adds the new
--profile NAME
option to support cargo's custom profiles. The behavior hasn't changed when--release
is passed or when nothing related to profiles are given.My motivation for this change is that I need to set
split-debuginfo
topacked
for Instrument to be able to load source locations, but I'd like to use the default release profile for everything else.Then you can run cargo-instruments like this