Skip to content

Commit

Permalink
Raise minimum tested compiler to 1.63
Browse files Browse the repository at this point in the history
Required by the `cc` crate.
  • Loading branch information
dtolnay committed Apr 21, 2024
1 parent 362f3f9 commit d5dd976
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -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
Expand Down Expand Up @@ -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}}
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions build.rs
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion flags/Cargo.toml
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion gen/build/Cargo.toml
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion gen/lib/Cargo.toml
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion macro/Cargo.toml
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -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>
Expand Down

0 comments on commit d5dd976

Please sign in to comment.