summaryrefslogtreecommitdiff
path: root/rust/compiler.go
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-01-14 16:03:18 -0800
committerJoel Galenson <jgalenson@google.com>2021-01-15 19:44:07 +0000
commitfa049385b89273f8c0ab3cd76e5ff3724265ec6c (patch)
tree0d5449d0fbef8dc3679b588d5609b0c1986dc92b /rust/compiler.go
parent66f7fdd1c89ad5d0eab631143902f6ee17de6332 (diff)
Migrate Rust to LLVM coverage.
Bug: 177675913 Test: Manually compile, run, and see output with llvm-cov. Change-Id: I66729cff87a848782e9fa1b95cbbc06318c5761a
Diffstat (limited to 'rust/compiler.go')
-rw-r--r--rust/compiler.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/rust/compiler.go b/rust/compiler.go
index bcea6cccc..d45a5aa9a 100644
--- a/rust/compiler.go
+++ b/rust/compiler.go
@@ -136,8 +136,7 @@ type BaseCompilerProperties struct {
}
type baseCompiler struct {
- Properties BaseCompilerProperties
- coverageFile android.Path //rustc generates a single gcno file
+ Properties BaseCompilerProperties
// Install related
dir string
@@ -147,8 +146,7 @@ type baseCompiler struct {
path android.InstallPath
location installLocation
- coverageOutputZipFile android.OptionalPath
- distFile android.OptionalPath
+ distFile android.OptionalPath
// Stripped output file. If Valid(), this file will be installed instead of outputFile.
strippedOutputFile android.OptionalPath
}