Skip to content

PGO on cargo release profile? #22

Answered by Kobzol
rust-academy asked this question in Q&A
Discussion options

You must be logged in to vote

It's written in the README (https://github.com/Kobzol/cargo-pgo#pgo). Is there another place where you would like to see this information?

cargo-pgo also warns about this, but you have to execute the command with the proper flag (--release vs release):

$ cargo pgo build -- --release
$ [WARN] Do not pass `--release` manually, it will be added automatically by `cargo-pgo`

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rust-academy
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants