Skip to content

Commit d5dd976

Browse files
committed
Raise minimum tested compiler to 1.63
Required by the `cc` crate.
1 parent 362f3f9 commit d5dd976

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- rust: nightly
2626
- rust: beta
2727
- rust: stable
28-
- rust: 1.60.0
28+
- rust: 1.63.0
2929
- rust: 1.64.0
3030
- rust: 1.70.0
3131
- rust: 1.74.0
@@ -65,7 +65,7 @@ jobs:
6565
shell: bash
6666
- run: cargo run --manifest-path demo/Cargo.toml
6767
- run: cargo test --workspace ${{steps.testsuite.outputs.exclude}}
68-
if: matrix.rust != '1.60.0' && matrix.rust != '1.64.0'
68+
if: matrix.rust != '1.63.0' && matrix.rust != '1.64.0'
6969
- run: cargo check --no-default-features --features alloc
7070
env:
7171
RUSTFLAGS: --cfg compile_error_if_std ${{env.RUSTFLAGS}}

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ keywords = ["ffi", "c++"]
1212
license = "MIT OR Apache-2.0"
1313
links = "cxxbridge1"
1414
repository = "https://github.com/dtolnay/cxx"
15-
rust-version = "1.60"
15+
rust-version = "1.63"
1616

1717
[features]
1818
default = ["std", "cxxbridge-flags/default"] # c++11

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ cxx = "1.0"
2424
cxx-build = "1.0"
2525
```
2626

27-
*Compiler support: requires rustc 1.60+ and c++11 or newer*<br>
27+
*Compiler support: requires rustc 1.63+ and c++11 or newer*<br>
2828
*[Release notes](https://github.com/dtolnay/cxx/releases)*
2929

3030
<br>

build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ fn main() {
2424
}
2525

2626
if let Some(rustc) = rustc_version() {
27-
if rustc.minor < 60 {
28-
println!("cargo:warning=The cxx crate requires a rustc version 1.60.0 or newer.");
27+
if rustc.minor < 63 {
28+
println!("cargo:warning=The cxx crate requires a rustc version 1.63.0 or newer.");
2929
println!(
3030
"cargo:warning=You appear to be building with: {}",
3131
rustc.version,

flags/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description = "Compiler configuration of the `cxx` crate (implementation detail)
77
edition = "2021"
88
license = "MIT OR Apache-2.0"
99
repository = "https://github.com/dtolnay/cxx"
10-
rust-version = "1.60"
10+
rust-version = "1.63"
1111

1212
[features]
1313
default = [] # c++11

gen/build/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ homepage = "https://cxx.rs"
1111
keywords = ["ffi", "build-dependencies"]
1212
license = "MIT OR Apache-2.0"
1313
repository = "https://github.com/dtolnay/cxx"
14-
rust-version = "1.60"
14+
rust-version = "1.63"
1515

1616
[features]
1717
parallel = ["cc/parallel"]

gen/lib/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ exclude = ["build.rs"]
1010
keywords = ["ffi"]
1111
license = "MIT OR Apache-2.0"
1212
repository = "https://github.com/dtolnay/cxx"
13-
rust-version = "1.60"
13+
rust-version = "1.63"
1414

1515
[dependencies]
1616
codespan-reporting = "0.11.1"

macro/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ homepage = "https://cxx.rs"
1010
keywords = ["ffi"]
1111
license = "MIT OR Apache-2.0"
1212
repository = "https://github.com/dtolnay/cxx"
13-
rust-version = "1.60"
13+
rust-version = "1.63"
1414

1515
[lib]
1616
proc-macro = true

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
//!
1919
//! <br>
2020
//!
21-
//! *Compiler support: requires rustc 1.60+ and c++11 or newer*<br>
21+
//! *Compiler support: requires rustc 1.63+ and c++11 or newer*<br>
2222
//! *[Release notes](https://github.com/dtolnay/cxx/releases)*
2323
//!
2424
//! <br>

0 commit comments

Comments
 (0)