summaryrefslogtreecommitdiff
path: root/rust/compiler.go
diff options
context:
space:
mode:
author Ivan Lozano <ivanlozano@google.com> 2023-02-14 20:12:10 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-02-14 20:12:10 +0000
commit766836656f4db7eff4ea503d75c1035558e070be (patch)
treed3ed6a0a5823a5ca660e053a43581f00cab9d878 /rust/compiler.go
parent2c3122e90af70b8473345dc60ee89161ccd9c0d5 (diff)
parent9ef9cb8b3f19e1d266863fe752bf168e8e35ffd4 (diff)
Merge "rust: Fix coverage in no-std crates"
Diffstat (limited to 'rust/compiler.go')
-rw-r--r--rust/compiler.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/rust/compiler.go b/rust/compiler.go
index 8ec42f079..31acd49cb 100644
--- a/rust/compiler.go
+++ b/rust/compiler.go
@@ -208,6 +208,10 @@ func (compiler *baseCompiler) SetDisabled() {
panic("baseCompiler does not implement SetDisabled()")
}
+func (compiler *baseCompiler) noStdlibs() bool {
+ return Bool(compiler.Properties.No_stdlibs)
+}
+
func (compiler *baseCompiler) coverageOutputZipPath() android.OptionalPath {
panic("baseCompiler does not implement coverageOutputZipPath()")
}