diff options
author | David Tolnay <dtolnay@gmail.com> | 2024-04-20 20:56:08 -0700 |
---|---|---|
committer | David Tolnay <dtolnay@gmail.com> | 2024-04-20 20:56:10 -0700 |
commit | d5dd97693c9e7877c6aedd0b5d7e2b3368376cf5 (patch) | |
tree | cc246edaf7bfe3f0f177e71ebc3d877a16290fed | |
parent | 362f3f9096c56a1a484970f3679fb3831bec8dc2 (diff) | |
download | cxx-d5dd97693c9e7877c6aedd0b5d7e2b3368376cf5.tar.gz |
Raise minimum tested compiler to 1.63
Required by the `cc` crate.
-rw-r--r-- | .github/workflows/ci.yml | 4 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | build.rs | 4 | ||||
-rw-r--r-- | flags/Cargo.toml | 2 | ||||
-rw-r--r-- | gen/build/Cargo.toml | 2 | ||||
-rw-r--r-- | gen/lib/Cargo.toml | 2 | ||||
-rw-r--r-- | macro/Cargo.toml | 2 | ||||
-rw-r--r-- | src/lib.rs | 2 |
9 files changed, 11 insertions, 11 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 44787216..909de0ae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: - rust: nightly - rust: beta - rust: stable - - rust: 1.60.0 + - rust: 1.63.0 - rust: 1.64.0 - rust: 1.70.0 - rust: 1.74.0 @@ -65,7 +65,7 @@ jobs: shell: bash - run: cargo run --manifest-path demo/Cargo.toml - run: cargo test --workspace ${{steps.testsuite.outputs.exclude}} - if: matrix.rust != '1.60.0' && matrix.rust != '1.64.0' + if: matrix.rust != '1.63.0' && matrix.rust != '1.64.0' - run: cargo check --no-default-features --features alloc env: RUSTFLAGS: --cfg compile_error_if_std ${{env.RUSTFLAGS}} @@ -12,7 +12,7 @@ keywords = ["ffi", "c++"] license = "MIT OR Apache-2.0" links = "cxxbridge1" repository = "https://github.com/dtolnay/cxx" -rust-version = "1.60" +rust-version = "1.63" [features] default = ["std", "cxxbridge-flags/default"] # c++11 @@ -24,7 +24,7 @@ cxx = "1.0" cxx-build = "1.0" ``` -*Compiler support: requires rustc 1.60+ and c++11 or newer*<br> +*Compiler support: requires rustc 1.63+ and c++11 or newer*<br> *[Release notes](https://github.com/dtolnay/cxx/releases)* <br> @@ -24,8 +24,8 @@ fn main() { } if let Some(rustc) = rustc_version() { - if rustc.minor < 60 { - println!("cargo:warning=The cxx crate requires a rustc version 1.60.0 or newer."); + if rustc.minor < 63 { + println!("cargo:warning=The cxx crate requires a rustc version 1.63.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 0b8d7850..56b7828d 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.60" +rust-version = "1.63" [features] default = [] # c++11 diff --git a/gen/build/Cargo.toml b/gen/build/Cargo.toml index 335fa3ac..323238e2 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.60" +rust-version = "1.63" [features] parallel = ["cc/parallel"] diff --git a/gen/lib/Cargo.toml b/gen/lib/Cargo.toml index b245b7f0..9f8551c7 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.60" +rust-version = "1.63" [dependencies] codespan-reporting = "0.11.1" diff --git a/macro/Cargo.toml b/macro/Cargo.toml index 7d16b12f..02371d20 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.60" +rust-version = "1.63" [lib] proc-macro = true @@ -18,7 +18,7 @@ //! //! <br> //! -//! *Compiler support: requires rustc 1.60+ and c++11 or newer*<br> +//! *Compiler support: requires rustc 1.63+ and c++11 or newer*<br> //! *[Release notes](https://github.com/dtolnay/cxx/releases)* //! //! <br> |