Merge "Ignore clippy configuration flags." am: befbd598d7 am: c44d7fd9ac
Original change: https://android-review.googlesource.com/c/platform/development/+/1939133 Change-Id: If1020245ee7aab56478579c771be940dfd8fda6c
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