summaryrefslogtreecommitdiff
path: root/rust/library.go
diff options
context:
space:
mode:
author Ivan Lozano <ivanlozano@google.com> 2025-02-04 06:17:52 -0800
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-02-04 06:17:52 -0800
commit0e60ed234eb2e7fe827d300ddeb12c3d7f1c74e8 (patch)
tree6e45fdf34d90ed5caaa1656383968be699d4c953 /rust/library.go
parenteb6a11412f1ee4df3fd7a7f9739920d45dc4ce45 (diff)
parent3cc1daf1841ad9890e0ee84fcc1df2f9877cab0f (diff)
Merge "rust: Don't produce coverage variants for stublibs" into main
Diffstat (limited to 'rust/library.go')
-rw-r--r--rust/library.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/rust/library.go b/rust/library.go
index 95e7099a6..3686bf972 100644
--- a/rust/library.go
+++ b/rust/library.go
@@ -202,6 +202,9 @@ type libraryInterface interface {
}
func (library *libraryDecorator) nativeCoverage() bool {
+ if library.BuildStubs() {
+ return false
+ }
return true
}