Merge "Ignore clippy configuration flags." am: befbd598d7
Original change: https://android-review.googlesource.com/c/platform/development/+/1939133 Change-Id: Id0b3aa4dcf2c97e921d406379be931fca2a88c91
This commit is contained in:
@@ -432,6 +432,9 @@ class Crate(object):
|
|||||||
self.emit_list = arg.replace('--emit=', '')
|
self.emit_list = arg.replace('--emit=', '')
|
||||||
elif arg.startswith('--edition='):
|
elif arg.startswith('--edition='):
|
||||||
self.edition = arg.replace('--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('-'):
|
elif not arg.startswith('-'):
|
||||||
# shorten imported crate main source paths like $HOME/.cargo/
|
# shorten imported crate main source paths like $HOME/.cargo/
|
||||||
# registry/src/github.com-1ecc6299db9ec823/memchr-2.3.3/src/lib.rs
|
# registry/src/github.com-1ecc6299db9ec823/memchr-2.3.3/src/lib.rs
|
||||||
|
|||||||
Reference in New Issue
Block a user