diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f8c352c01..febcf22ac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: strategy: fail-fast: false matrix: - rust: [nightly, beta, stable, 1.82.0, 1.74.0, 1.70.0] + rust: [nightly, beta, stable, 1.82.0, 1.74.0, 1.71.0] os: [ubuntu] include: - name: Cargo on macOS @@ -53,7 +53,7 @@ jobs: # builds. run: | echo RUSTFLAGS=$RUSTFLAGS >> $GITHUB_ENV - echo exclude=--exclude cxx-test-suite ${{matrix.rust == '1.70.0' && '--exclude cxxbridge-cmd' || ''}} >> $GITHUB_OUTPUT + echo exclude=--exclude cxx-test-suite ${{matrix.rust == '1.71.0' && '--exclude cxxbridge-cmd' || ''}} >> $GITHUB_OUTPUT env: RUSTFLAGS: ${{env.RUSTFLAGS}} ${{matrix.os != 'ubuntu' && github.event_name != 'schedule' && '--cfg skip_ui_tests' || ''}} id: testsuite diff --git a/Cargo.toml b/Cargo.toml index 126fd422f..4d36d0d06 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ keywords = ["ffi", "c++"] license = "MIT OR Apache-2.0" links = "cxxbridge1" repository = "https://github.com/dtolnay/cxx" -rust-version = "1.70" +rust-version = "1.71" [features] default = ["std", "cxxbridge-flags/default"] # c++11 diff --git a/README.md b/README.md index ecb8797b0..c8cbe54c9 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ cxx = "1.0" cxx-build = "1.0" ``` -*Compiler support: requires rustc 1.70+ and c++11 or newer*
+*Compiler support: requires rustc 1.71+ and c++11 or newer*
*[Release notes](https://github.com/dtolnay/cxx/releases)*
diff --git a/build.rs b/build.rs index 12f056c0b..331a20732 100644 --- a/build.rs +++ b/build.rs @@ -36,8 +36,8 @@ fn main() { println!("cargo:rustc-check-cfg=cfg(skip_ui_tests)"); } - if rustc.minor < 70 { - println!("cargo:warning=The cxx crate requires a rustc version 1.70.0 or newer."); + if rustc.minor < 71 { + println!("cargo:warning=The cxx crate requires a rustc version 1.71.0 or newer."); println!( "cargo:warning=You appear to be building with: {}", rustc.version, diff --git a/flags/Cargo.toml b/flags/Cargo.toml index 49008b117..2c65e39e0 100644 --- a/flags/Cargo.toml +++ b/flags/Cargo.toml @@ -7,7 +7,7 @@ description = "Compiler configuration of the `cxx` crate (implementation detail) edition = "2021" license = "MIT OR Apache-2.0" repository = "https://github.com/dtolnay/cxx" -rust-version = "1.70" +rust-version = "1.71" [features] default = [] # c++11 diff --git a/gen/build/Cargo.toml b/gen/build/Cargo.toml index 94fb4003e..341a2a63d 100644 --- a/gen/build/Cargo.toml +++ b/gen/build/Cargo.toml @@ -11,7 +11,7 @@ homepage = "https://cxx.rs" keywords = ["ffi", "build-dependencies"] license = "MIT OR Apache-2.0" repository = "https://github.com/dtolnay/cxx" -rust-version = "1.70" +rust-version = "1.71" [features] parallel = ["cc/parallel"] diff --git a/gen/cmd/Cargo.toml b/gen/cmd/Cargo.toml index 88964618b..c82e3362d 100644 --- a/gen/cmd/Cargo.toml +++ b/gen/cmd/Cargo.toml @@ -10,7 +10,7 @@ homepage = "https://cxx.rs" keywords = ["ffi"] license = "MIT OR Apache-2.0" repository = "https://github.com/dtolnay/cxx" -rust-version = "1.70" +rust-version = "1.71" [[bin]] name = "cxxbridge" diff --git a/gen/lib/Cargo.toml b/gen/lib/Cargo.toml index 715cb7d4e..f7ef47f9b 100644 --- a/gen/lib/Cargo.toml +++ b/gen/lib/Cargo.toml @@ -10,7 +10,7 @@ exclude = ["build.rs"] keywords = ["ffi"] license = "MIT OR Apache-2.0" repository = "https://github.com/dtolnay/cxx" -rust-version = "1.70" +rust-version = "1.71" [dependencies] codespan-reporting = "0.11.1" diff --git a/macro/Cargo.toml b/macro/Cargo.toml index 311e8c116..222dc5c2d 100644 --- a/macro/Cargo.toml +++ b/macro/Cargo.toml @@ -10,7 +10,7 @@ homepage = "https://cxx.rs" keywords = ["ffi"] license = "MIT OR Apache-2.0" repository = "https://github.com/dtolnay/cxx" -rust-version = "1.70" +rust-version = "1.71" [lib] proc-macro = true diff --git a/src/lib.rs b/src/lib.rs index 5f962c981..d4ebade77 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -18,7 +18,7 @@ //! //!
//! -//! *Compiler support: requires rustc 1.70+ and c++11 or newer*
+//! *Compiler support: requires rustc 1.71+ and c++11 or newer*
//! *[Release notes](https://github.com/dtolnay/cxx/releases)* //! //!