From 5f0d028a83ba9cd363dae0be7f32dfbc6b5312f8 Mon Sep 17 00:00:00 2001 From: matejcik Date: Thu, 9 May 2024 14:23:45 +0200 Subject: [PATCH] ci: avoid ASAN related failures on build_bootloader_emu The build job is setting too many variables. The sconscript is responsible for those, but bootloader_emu does not support ASAN and does not have the right linker flags to make "-Z sanitizer=address" work. We don't care because bootloader emulator is not used in the test suite so we couldn't catch anything with ASAN anyway. --- .github/workflows/core.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml index e590021997..2fe3a03fd5 100644 --- a/.github/workflows/core.yml +++ b/.github/workflows/core.yml @@ -109,8 +109,6 @@ jobs: BITCOIN_ONLY: ${{ matrix.coins == 'universal' && '0' || '1' }} PYOPT: ${{ matrix.type == 'debuglink' && '0' || '1' }} ADDRESS_SANITIZER: ${{ matrix.asan == 'asan' && '1' || '0' }} - RUSTC_BOOTSTRAP: ${{ matrix.asan == 'asan' && '1' || '0' }} - RUSTFLAGS: ${{ matrix.asan == 'asan' && '-Z sanitizer=address' || '' }} LSAN_OPTIONS: "suppressions=../../asan_suppressions.txt" steps: - uses: actions/checkout@v4