-
Notifications
You must be signed in to change notification settings - Fork 435
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
Bazel Coverage failing to generate lcov with --@rules_rust//rust/settings:experimental_use_cc_common_link=true
#2729
Comments
I’m attempting to debug why leveraging bazel’s i.e, for a running bazel coverage on a rust_test without this flag
With this flag enabled, we don’t see I think it has to do with this: rules_rust/rust/private/rustc.bzl Lines 1317 to 1333 in ef8ac18
I think we need to build and link these artifacts rules_rust/rust/private/rustc.bzl Lines 1283 to 1286 in ef8ac18
with --coverage flags, but I’m not entirely sure where those should be added? Wondering if I’m heading down the right direction?
|
bazel coverage with the following additional build setting leads to .dat files not getting generated
To repro, first see code cov is generated on main.
With this newly added flag, code coverage fails
reproable on bazel 7.2.1 and 6.5
The text was updated successfully, but these errors were encountered: