Set RUSTC_BOOTSTRAP=1 when running analysis-stats on libstd

This commit is contained in:
Laurențiu Nicola 2023-08-25 18:01:46 +03:00
parent f5b7c60ff7
commit 4e034d78de

View File

@ -98,7 +98,7 @@ jobs:
- name: Run analysis-stats on rust std library
if: matrix.os == 'ubuntu-latest'
run: target/${{ matrix.target }}/debug/rust-analyzer analysis-stats --with-deps $(rustc --print sysroot)/lib/rustlib/src/rust/library/std
run: RUSTC_BOOTSTRAP=1 target/${{ matrix.target }}/debug/rust-analyzer analysis-stats --with-deps $(rustc --print sysroot)/lib/rustlib/src/rust/library/std
# Weird targets to catch non-portable code
rust-cross: