-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
A-Build-SystemRelated to build systems or continuous integrationRelated to build systems or continuous integrationC-Code-QualityA section of code that is hard to understand or changeA section of code that is hard to understand or changeD-TrivialNice and easy! A great choice to get started with BevyNice and easy! A great choice to get started with BevyS-BlockedThis cannot move forward until something else changesThis cannot move forward until something else changesX-UncontroversialThis work is generally agreed uponThis work is generally agreed upon
Description
-Zcheck-cfg
has been stabilized-ish! (rust-lang/cargo#13571) When Rust 1.80 is released, the separate Github Action job can be removed.
For now, we have two more releases (12 weeks or ~4 months) before this can be done. 💤
Lines 438 to 462 in 4f9f987
check-cfg: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
key: ${{ runner.os }}-check-doc-${{ hashFiles('**/Cargo.toml') }} | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ env.NIGHTLY_TOOLCHAIN }} | |
- name: Install Linux dependencies | |
uses: ./.github/actions/install-linux-deps | |
with: | |
wayland: true | |
xkb: true | |
- name: Build and check cfg typos | |
# See tools/ci/src/main.rs for the commands this runs | |
run: cargo run -p ci -- cfg-check |
Metadata
Metadata
Assignees
Labels
A-Build-SystemRelated to build systems or continuous integrationRelated to build systems or continuous integrationC-Code-QualityA section of code that is hard to understand or changeA section of code that is hard to understand or changeD-TrivialNice and easy! A great choice to get started with BevyNice and easy! A great choice to get started with BevyS-BlockedThis cannot move forward until something else changesThis cannot move forward until something else changesX-UncontroversialThis work is generally agreed uponThis work is generally agreed upon