From 3944c6a1af4bbf00edca407c5ef49291faec3ed5 Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Thu, 15 Jan 2026 11:13:02 +0100 Subject: [PATCH] Upgrade MSRV to 1.68 and remove macos-13 builder (#747) This should fix the build on CI. Co-authored-by: @sagudev Signed-off-by: Martin Robinson --- .github/workflows/rust.yml | 4 ++-- Cargo.toml | 2 +- core-foundation/src/filedescriptor.rs | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 6056a31..ed8a8c8 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -34,11 +34,11 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [macos-13, macos-14, macos-15] + os: [macos-14, macos-15, macos-15-intel] toolchain: [stable] include: - os: macos-14 - toolchain: "1.65.0" + toolchain: "1.68.0" steps: - uses: actions/checkout@v4 - name: Install toolchain diff --git a/Cargo.toml b/Cargo.toml index 5a89860..5eb47d0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ authors = ["The Servo Project Developers"] edition = "2021" license = "MIT OR Apache-2.0" repository = "https://github.com/servo/core-foundation-rs" -rust-version = "1.65" +rust-version = "1.68" [workspace.lints] clippy.doc_markdown = "warn" diff --git a/core-foundation/src/filedescriptor.rs b/core-foundation/src/filedescriptor.rs index b45ff1c..f991e2e 100644 --- a/core-foundation/src/filedescriptor.rs +++ b/core-foundation/src/filedescriptor.rs @@ -134,6 +134,7 @@ mod test { } #[test] + #[allow(unused_assignments)] fn test_callback() { let mut info = TestInfo { value: 0 }; let context = CFFileDescriptorContext {