From c00167cbe9fdb5037c2762e1ac1f81735d9090a9 Mon Sep 17 00:00:00 2001 From: WANG Rui Date: Tue, 12 Nov 2024 16:02:39 +0800 Subject: [PATCH] Bump MSRV to 1.70.0 Fixes #95 --- .github/workflows/test.yml | 11 ++++------- README.md | 2 +- libffi-rs/README.md | 2 +- libffi-rs/src/lib.rs | 2 +- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ee3ffd02..36ce32b3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,7 @@ jobs: matrix: toolchain: [i686-pc-windows-msvc, x86_64-pc-windows-msvc] target: [i686-pc-windows-msvc, x86_64-pc-windows-msvc, aarch64-pc-windows-msvc] - channel: [1.48.0, stable, beta, nightly] + channel: [1.70.0, stable, beta, nightly] runs-on: windows-latest name: Windows - ${{ matrix.target }} - ${{ matrix.channel }} env: @@ -55,7 +55,7 @@ jobs: strategy: fail-fast: false matrix: - channel: [1.48.0, stable, beta, nightly] + channel: [1.70.0, stable, beta, nightly] runs-on: windows-latest name: Windows - x86_64-pc-windows-gnu - ${{ matrix.channel }} env: @@ -95,7 +95,7 @@ jobs: matrix: # rust < 1.54 does not work on macos >= 12: # https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/.E2.9C.94.20How.20can.20I.20fix.20Rust.201.2E53.2E0.20or.20earlier.20to.20run.20on.20macOS.2012.2E6.3F/near/299263887 - # channel: [1.48.0, stable, beta, nightly] + # channel: [1.70.0, stable, beta, nightly] channel: [stable, beta, nightly] features: ["--no-default-features", "--features system"] runs-on: macos-latest @@ -130,7 +130,7 @@ jobs: strategy: fail-fast: false matrix: - channel: [1.48.0, stable, beta, nightly] + channel: [1.70.0, stable, beta, nightly] features: ["--no-default-features", "--features system"] target: - x86_64-unknown-linux-gnu @@ -154,9 +154,6 @@ jobs: features: "--features system" - target: s390x-unknown-linux-gnu features: "--features system" - # 1.48.0 is too old for riscv64gc-unknown-linux-gnu - - target: riscv64gc-unknown-linux-gnu - channel: 1.48.0 runs-on: ubuntu-latest name: Linux - ${{ matrix.channel }} ${{ matrix.features }} ${{ matrix.target }} diff --git a/README.md b/README.md index c684bc29..c0757b50 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ libffi = { version = "2.0.0", features = ["system"] } See [the `libffi-sys` documentation] for more information about how it finds C libffi. -This crate supports Rust version 1.48 and later. +This crate supports Rust version 1.70 and later. ### Examples diff --git a/libffi-rs/README.md b/libffi-rs/README.md index eda2c9c2..f85ff3d4 100644 --- a/libffi-rs/README.md +++ b/libffi-rs/README.md @@ -40,7 +40,7 @@ libffi = { version = "3.2.0", features = ["system"] } See [the `libffi-sys` documentation] for more information about how it finds C libffi. -This crate supports Rust version 1.48 and later. +This crate supports Rust version 1.70 and later. ### Examples diff --git a/libffi-rs/src/lib.rs b/libffi-rs/src/lib.rs index c53888f3..26b9cda6 100644 --- a/libffi-rs/src/lib.rs +++ b/libffi-rs/src/lib.rs @@ -38,7 +38,7 @@ //! See [the `libffi-sys` documentation] for more information about how it //! finds C libffi. //! -//! This crate supports Rust version 1.48 and later. +//! This crate supports Rust version 1.70 and later. //! //! # Organization //!