Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 87bacb6f authored by Sonny Sasaka's avatar Sonny Sasaka
Browse files

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
parent 0e4092db
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)