[Rust] Remove unused variables and deduplicate.

Bug: 158731826
Test: cd external/rust/crates; mma
Change-Id: I8c9e5cfeaf941b9676b92451b227c15db9a41bbc
This commit is contained in:
Ivan Lozano
2020-06-16 10:26:57 -04:00
parent 2752d926a9
commit 8a23fa4819
6 changed files with 24 additions and 45 deletions

View File

@@ -45,11 +45,10 @@ func init() {
}
type Flags struct {
GlobalRustFlags []string // Flags that apply globally to rust
GlobalLinkFlags []string // Flags that apply globally to linker
RustFlags []string // Flags that apply to rust
LinkFlags []string // Flags that apply to linker
RustFlagsDeps android.Paths // Files depended on by compiler flags
GlobalRustFlags []string // Flags that apply globally to rust
GlobalLinkFlags []string // Flags that apply globally to linker
RustFlags []string // Flags that apply to rust
LinkFlags []string // Flags that apply to linker
Toolchain config.Toolchain
Coverage bool
}