aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Cook <simon.cook@embecosm.com>2022-04-13 08:34:30 +0200
committerSimon Cook <simon.cook@embecosm.com>2022-04-13 08:34:30 +0200
commitaddf65ddfa5d16e185ba3e2fc0821ce87babb842 (patch)
tree75ca8098862bc2faee81ce89d8bbe14a83bdee07
parente9ab95c088060ab27d3665879cd1ae0b6cbdc912 (diff)
downloadgcc-addf65ddfa5d16e185ba3e2fc0821ce87babb842.zip
gcc-addf65ddfa5d16e185ba3e2fc0821ce87babb842.tar.gz
gcc-addf65ddfa5d16e185ba3e2fc0821ce87babb842.tar.bz2
rust: Use -Otarget when building and logging warnings
This will provide some synchronization for output lines, and so will make comparisons with known warnings as part of CI more reliable.
-rw-r--r--.github/workflows/ccpp.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml
index 6159047..a819905 100644
--- a/.github/workflows/ccpp.yml
+++ b/.github/workflows/ccpp.yml
@@ -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: |