diff options
author | 2022-04-29 10:34:29 -0700 | |
---|---|---|
committer | 2022-04-29 10:37:26 -0700 | |
commit | 87bacb6f8e8f27e388fa325e7446925c762cc062 (patch) | |
tree | eaaa6cf6e8014ad46d946fdd7f50cfaba3caa183 /build.py | |
parent | 0e4092db7ee0a27fb97eba63bff58654eca2930a (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-x | build.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |