summaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
Diffstat (limited to 'rust')
-rw-r--r--rust/library.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/rust/library.go b/rust/library.go
index dd194374f..94f5730ea 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
}