Ignore clippy configuration flags.
Test: Ran ./all2android.sh under external/crosvm Change-Id: I29a50ee242bca5111004b6ba56867b1e68ccd8f3
This commit is contained in:
@@ -432,6 +432,9 @@ class Crate(object):
|
||||
self.emit_list = arg.replace('--emit=', '')
|
||||
elif arg.startswith('--edition='):
|
||||
self.edition = arg.replace('--edition=', '')
|
||||
elif arg.startswith('\'-Aclippy'):
|
||||
# TODO: Consider storing these to include in the Android.bp.
|
||||
_ = arg # ignored
|
||||
elif not arg.startswith('-'):
|
||||
# shorten imported crate main source paths like $HOME/.cargo/
|
||||
# registry/src/github.com-1ecc6299db9ec823/memchr-2.3.3/src/lib.rs
|
||||
|
||||
Reference in New Issue
Block a user