-
-
Notifications
You must be signed in to change notification settings - Fork 170
opencv-rust breaks profiling scenarios #348
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
Comments
That's a lot of undefined references even to the basic things, are the opencv so's getting linked at all? I'm not really familiar with this profiling workflow, can you please provide the instructions to reproduce the issue? |
I just run this in the repo (has to be nightly rustc):
|
From my testing it looks like the particular culprit is |
Before reporting an issue please first check the
troubleshooting guide. If
the issue you're encountering is not solved thereby please state the following in your bugreport:
Package: libopencv-core4.5
Version: 4.5.3+dfsg-1ubuntu1
New: yes
rustc --version
): rustc 1.64.0-nightly (2f3ddd9f5 2022-06-27)Trying to run the standard
grcov
workflow seems broken due to some dead code not being eliminated:So in case the crate has
opencv-rust
as a dependency it cannot be profiled atmThe text was updated successfully, but these errors were encountered: