-
Notifications
You must be signed in to change notification settings - Fork 11
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
Flags not passed to rustc
#18
Comments
The only thing that $ RUSTFLAGS="-Cprofile-generate=..." cargo build so values from That being said, it looks like if you use For now I think that your best bet is to pass these flags using |
I can't reproduce the LTO issue anymore. It was probably just a benchmark inconsistency. (I couldn't find any way to check directly.) The |
When
cargo-pgo
is used, the[build.rustflags]
of.cargo\config.toml
are ignored. Lto incargo.toml
seems to be ignored as well, judging by performance. The only way to pass flags seems to be through theRUSTFLAGS
environment variable.The text was updated successfully, but these errors were encountered: