From 98703f42ba9d75d2e521acdff8f961abca266697 Mon Sep 17 00:00:00 2001 From: Thomas de Zeeuw Date: Tue, 7 Oct 2025 11:54:34 +0200 Subject: [PATCH 1/3] Add missing components when installing Rust in CI --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d311b23d..dd8bd0de 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -48,6 +48,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable + with: + components: rustfmt - name: Check formatting run: cargo fmt --all -- --check Check: @@ -117,6 +119,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable + with: + components: clippy - name: Run Clippy run: cargo clippy --all-targets --all-features -- -D warnings CheckExternalTypes: From babab5c6e859d488dcd6c77febbbe7217f9c47cf Mon Sep 17 00:00:00 2001 From: Shiroko Date: Tue, 30 Sep 2025 17:41:05 +0800 Subject: [PATCH 2/3] Update feature `doc_auto_cfg` to `doc_cfg` `doc_auto_cfg` has been removed in the latest nightly, see https://github.com/rust-lang/rust/pull/138907. This feature was merged into `doc_cfg`. This fixes the rustdoc build in the latest nightly toolchain with docsrs feature enabled. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index a0a56a52..13154acd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -54,7 +54,7 @@ #![deny(missing_docs, missing_debug_implementations, rust_2018_idioms)] // Automatically generate required OS/features for docs.rs. -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] // Disallow warnings when running tests. #![cfg_attr(test, deny(warnings))] // Disallow warnings in examples. From 1e6c7ad727b2e81085c368e2883cc90609b675f1 Mon Sep 17 00:00:00 2001 From: Thomas de Zeeuw Date: Tue, 7 Oct 2025 12:07:42 +0200 Subject: [PATCH 3/3] Disable armv7-sony-vita-newlibeabihf CI check It's currently broken, see https://github.com/rust-lang/rust/issues/147437. --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dd8bd0de..23d5dcd9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -76,7 +76,8 @@ jobs: - arm-linux-androideabi - arm64_32-apple-watchos - armv7-linux-androideabi - - armv7-sony-vita-newlibeabihf + # Broken, see https://github.com/rust-lang/rust/issues/147437. + #- armv7-sony-vita-newlibeabihf - armv7-unknown-linux-ohos - i686-linux-android # Broken, see https://github.com/rust-lang/socket2/issues/539.