diff options
author | 2020-08-05 12:47:14 +0000 | |
---|---|---|
committer | 2020-08-05 12:47:14 +0000 | |
commit | b14e14151964df77548e37de84300b433592013e (patch) | |
tree | c73f79bd3a9bf591d75937d7b329cdcc5230dabd /rust/rust.go | |
parent | fe58347aefcfd0fbf63000766d2c54a95bd3985f (diff) | |
parent | 32267c88c44d5c7a31a78f6e8de00a3528a1d443 (diff) |
Merge "[rust] Disable clippy for rust_bindgen modules."
Diffstat (limited to 'rust/rust.go')
-rw-r--r-- | rust/rust.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rust/rust.go b/rust/rust.go index 1192836a5..01952477e 100644 --- a/rust/rust.go +++ b/rust/rust.go @@ -1037,6 +1037,12 @@ func (mod *Module) Name() string { return name } +func (mod *Module) setClippy(clippy bool) { + if mod.clippy != nil { + mod.clippy.Properties.Clippy = proptools.BoolPtr(clippy) + } +} + var _ android.HostToolProvider = (*Module)(nil) func (mod *Module) HostToolPath() android.OptionalPath { |