summaryrefslogtreecommitdiff
path: root/build.py
diff options
context:
space:
mode:
author Sonny Sasaka <sonnysasaka@google.com> 2022-04-29 10:34:29 -0700
committer Sonny Sasaka <sonnysasaka@google.com> 2022-04-29 10:37:26 -0700
commit87bacb6f8e8f27e388fa325e7446925c762cc062 (patch)
treeeaaa6cf6e8014ad46d946fdd7f50cfaba3caa183 /build.py
parent0e4092db7ee0a27fb97eba63bff58654eca2930a (diff)
Floss: Exclude uninteresting warning from Linux build
Added rust flags to hide uninterested warning categories so that we can see more useful warnings easily. Bug: 179821440 Tag: Floss Test: Build Floss on Linux with build.py Change-Id: I168322d83053a2889f9487fb92b2d9220eb82d35
Diffstat (limited to 'build.py')
-rwxr-xr-xbuild.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.py b/build.py
index 2bffdc3182..b93935a781 100755
--- a/build.py
+++ b/build.py
@@ -227,6 +227,8 @@ class HostBuild():
'{}/out/Default'.format(self.output_dir),
'-C',
'link-arg=-Wl,--allow-multiple-definition',
+ # exclude uninteresting warnings
+ '-A improper_ctypes_definitions -A improper_ctypes -A unknown_lints',
]
return ' '.join(rust_flags)