1114: rust: Use -Otarget when building and logging warnings r=philberty a=simonpcook

This will provide some synchronization for output lines, and so will
make comparisons with known warnings as part of CI more reliable.



Co-authored-by: Simon Cook <simon.cook@embecosm.com>
This commit is contained in:
bors[bot] 2022-04-13 10:10:21 +00:00 committed by GitHub
commit c1639be8bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ jobs:
shell: bash
run: |
cd gccrs-build; \
make -j $(nproc) 2>&1 | tee log
make -Otarget -j $(nproc) 2>&1 | tee log
- name: Check for new warnings
run: |