-
Notifications
You must be signed in to change notification settings - Fork 13.3k
opt-dist: explicitly pass --set build.metrics=true
while running build
#139686
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
Conversation
at first it's not obvious that build.metrics should be enabled to use opt-dist which will lead to confusion. probably it's better to add a good error message which instructs to set this option manually
Some changes occurred in src/tools/opt-dist cc @Kobzol |
Hi, if I understand the problem correctly, you are trying to use |
yes, I use opt-dist with |
It's slightly documented here, but it's really best effort, it's mostly designed for our internal CI usage, and potentially for distro people who are feeling courageous :) You could fix the metrics problem by adding the flag in |
yeah, documenting seems a better option in this case. I'm just "playing" with opt-dist as I try to compile Rust with PGO in msys2 :) |
You can modify the link that I posted directly in this repo ( |
thanks. I'll let you to change the docs, so it will be made prettier faster (than processing through multiple reviews 😄). feel free to close this PR |
Well if you did the change, I could approve it, which probably makes it faster, because if I make the change, someone else will have to approve xD But it doesn't really matter. Sent #139691. |
Document that `opt-dist` requires metrics to be enabled Suggested in rust-lang#139686.
Document that `opt-dist` requires metrics to be enabled Suggested in rust-lang#139686.
Document that `opt-dist` requires metrics to be enabled Suggested in rust-lang#139686.
Document that `opt-dist` requires metrics to be enabled Suggested in rust-lang#139686.
Document that `opt-dist` requires metrics to be enabled Suggested in rust-lang#139686.
Rollup merge of rust-lang#139691 - Kobzol:opt-dist-docs, r=jieyouxu Document that `opt-dist` requires metrics to be enabled Suggested in rust-lang#139686.
Document that `opt-dist` requires metrics to be enabled Suggested in rust-lang/rust#139686.
at first it's not obvious that build.metrics should be enabled to use opt-dist which will lead to confusion. probably it's better to add a good error message which instructs to set this option manually
edit: are there more places which need such change?