Use Nightly + Cranelift for dev, only fail on warnings in CI (#4388)

* Switch to nightly + cranelift

* Fail on warnings only in CI

* Fix check errors

* Don't use mold on Linux to fix CI

* Pin nightly toolchain and add default rustup components

* Fix another CI thing

* PR comment
This commit is contained in:
aecsocket
2025-09-18 19:20:19 +01:00
committed by GitHub
parent 4def0e8407
commit 36d0760a3e
7 changed files with 30 additions and 24 deletions

View File

@@ -18,6 +18,11 @@ jobs:
FORCE_COLOR: 3
# Make cargo nextest successfully ignore projects without tests
NEXTEST_NO_TESTS: pass
# Fail on warnings in CI
# (but don't do this in the root `Cargo.toml`,
# since we don't want warnings to become errors
# while developing)
RUSTFLAGS: -Dwarnings
steps:
- name: 📥 Check out code