You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, thanks for the great crate. I've been using it extensively for my project.
One thing I'd highlight in the doc is the use of a custom profile in the cargo manifest:
[profile.dhat] # for profiling only # dhatinherits = "release"debug = 1
As enabling debug for release builds otherwise increase the final binary size. This goes well with having a feature to enable dhat, and you can even add a cargo alias in project/.cargo/config.toml to get both running easily.
dhat = "run --profile dhat --features dhat --"
Since this is rather a style point I didn't make a PR but rather an issue
The text was updated successfully, but these errors were encountered:
Hey, thanks for the great crate. I've been using it extensively for my project.
One thing I'd highlight in the doc is the use of a custom profile in the cargo manifest:
As enabling debug for release builds otherwise increase the final binary size. This goes well with having a feature to enable dhat, and you can even add a cargo alias in
project/.cargo/config.toml
to get both running easily.Since this is rather a style point I didn't make a PR but rather an issue
The text was updated successfully, but these errors were encountered: