-
Notifications
You must be signed in to change notification settings - Fork 12
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
Difference between "cargo bench" and "cargo pgo bench" #44
Comments
I tried it locally and it fails because of |
Hmm, sounds interesting why it fails due to this. Since |
Yes, this looks like a rustc issue. |
Okay, in this case, I'll create the issue in the upstream. If you think there is nothing to do with this issue from the |
Not sure if is it an issue with
cargo-pgo
or not - I'll just put it here to share with other people.During the PGO optimization for https://github.com/gorules/zen/ project, I found that
cargo bench --workspace
works fine (builds all required targets successfully and performs the required benchmarks) but during thecargo pgo bench -- --workspace
I get the following linking errors: https://gist.github.com/zamazan4ik/176517dd1d5bb7dc07c92e13016dfd8dI'm not sure what is the reason for the difference in behavior between these two almost the same commands. Maybe some custom build.rs rules are the root cause of the problem.
The text was updated successfully, but these errors were encountered: