Skip to content

Commit f3cd913

Browse files
committed
Raise required compiler to rust 1.71
1 parent a1eb235 commit f3cd913

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
rust: [nightly, beta, stable, 1.82.0, 1.74.0, 1.70.0]
24+
rust: [nightly, beta, stable, 1.82.0, 1.74.0, 1.71.0]
2525
os: [ubuntu]
2626
include:
2727
- name: Cargo on macOS
@@ -53,7 +53,7 @@ jobs:
5353
# builds.
5454
run: |
5555
echo RUSTFLAGS=$RUSTFLAGS >> $GITHUB_ENV
56-
echo exclude=--exclude cxx-test-suite ${{matrix.rust == '1.70.0' && '--exclude cxxbridge-cmd' || ''}} >> $GITHUB_OUTPUT
56+
echo exclude=--exclude cxx-test-suite ${{matrix.rust == '1.71.0' && '--exclude cxxbridge-cmd' || ''}} >> $GITHUB_OUTPUT
5757
env:
5858
RUSTFLAGS: ${{env.RUSTFLAGS}} ${{matrix.os != 'ubuntu' && github.event_name != 'schedule' && '--cfg skip_ui_tests' || ''}}
5959
id: testsuite

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.70"
15+
rust-version = "1.71"
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.70+ and c++11 or newer*<br>
27+
*Compiler support: requires rustc 1.71+ 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
@@ -36,8 +36,8 @@ fn main() {
3636
println!("cargo:rustc-check-cfg=cfg(skip_ui_tests)");
3737
}
3838

39-
if rustc.minor < 70 {
40-
println!("cargo:warning=The cxx crate requires a rustc version 1.70.0 or newer.");
39+
if rustc.minor < 71 {
40+
println!("cargo:warning=The cxx crate requires a rustc version 1.71.0 or newer.");
4141
println!(
4242
"cargo:warning=You appear to be building with: {}",
4343
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.70"
10+
rust-version = "1.71"
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.70"
14+
rust-version = "1.71"
1515

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

gen/cmd/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.70"
13+
rust-version = "1.71"
1414

1515
[[bin]]
1616
name = "cxxbridge"

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.70"
13+
rust-version = "1.71"
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.70"
13+
rust-version = "1.71"
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.70+ and c++11 or newer*<br>
21+
//! *Compiler support: requires rustc 1.71+ and c++11 or newer*<br>
2222
//! *[Release notes](https://github.com/dtolnay/cxx/releases)*
2323
//!
2424
//! <br>

0 commit comments

Comments
 (0)