Kobzol / cargo-pgo

Cargo subcommand for optimizing Rust binaries/libraries with PGO and BOLT.
MIT License
563 stars 11 forks source link

Use `target.rustflags` instead of `build.rustflags` #57

Closed Kobzol closed 3 months ago

Kobzol commented 3 months ago

Fixes: https://github.com/Kobzol/cargo-pgo/issues/56

Kobzol commented 3 months ago

That's a good idea to add a CLI flag for allowing swapping between build/target rustflags! It can be implemented later though, I'd like to merge this as is, to let people try it.