From b353d5e1a25cd7043fc6ce37391244f698a4cd45 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 16 Nov 2024 11:06:28 -0800 Subject: [PATCH] Raise required compiler to rust 1.73 --- .github/workflows/ci.yml | 4 ++-- Cargo.toml | 2 +- README.md | 2 +- build.rs | 4 ++-- flags/Cargo.toml | 2 +- gen/build/Cargo.toml | 2 +- gen/cmd/Cargo.toml | 2 +- gen/lib/Cargo.toml | 2 +- macro/Cargo.toml | 2 +- src/lib.rs | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index febcf22ac..1fe7d1c7d 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.71.0] + rust: [nightly, beta, stable, 1.82.0, 1.74.0, 1.73.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.71.0' && '--exclude cxxbridge-cmd' || ''}} >> $GITHUB_OUTPUT + echo exclude=--exclude cxx-test-suite ${{matrix.rust == '1.73.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 4d36d0d06..4c3f8c60b 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.71" +rust-version = "1.73" [features] default = ["std", "cxxbridge-flags/default"] # c++11 diff --git a/README.md b/README.md index c8cbe54c9..9c6dab1b8 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ cxx = "1.0" cxx-build = "1.0" ``` -*Compiler support: requires rustc 1.71+ and c++11 or newer*
+*Compiler support: requires rustc 1.73+ and c++11 or newer*
*[Release notes](https://github.com/dtolnay/cxx/releases)*
diff --git a/build.rs b/build.rs index 331a20732..cb79c9805 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 < 71 { - println!("cargo:warning=The cxx crate requires a rustc version 1.71.0 or newer."); + if rustc.minor < 73 { + println!("cargo:warning=The cxx crate requires a rustc version 1.73.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 2c65e39e0..14621d7b7 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.71" +rust-version = "1.73" [features] default = [] # c++11 diff --git a/gen/build/Cargo.toml b/gen/build/Cargo.toml index 341a2a63d..a5d21b8cf 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.71" +rust-version = "1.73" [features] parallel = ["cc/parallel"] diff --git a/gen/cmd/Cargo.toml b/gen/cmd/Cargo.toml index c82e3362d..8cfea80a7 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.71" +rust-version = "1.73" [[bin]] name = "cxxbridge" diff --git a/gen/lib/Cargo.toml b/gen/lib/Cargo.toml index f7ef47f9b..07bc2403f 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.71" +rust-version = "1.73" [dependencies] codespan-reporting = "0.11.1" diff --git a/macro/Cargo.toml b/macro/Cargo.toml index 222dc5c2d..c905b131f 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.71" +rust-version = "1.73" [lib] proc-macro = true diff --git a/src/lib.rs b/src/lib.rs index d4ebade77..8f93cdb91 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -18,7 +18,7 @@ //! //!
//! -//! *Compiler support: requires rustc 1.71+ and c++11 or newer*
+//! *Compiler support: requires rustc 1.73+ and c++11 or newer*
//! *[Release notes](https://github.com/dtolnay/cxx/releases)* //! //!