Skip to content

Commit b4b8d6d

Browse files
committed
Bump up MSRV to 1.56
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
1 parent 73b014d commit b4b8d6d

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

ctest/.github/workflows/linux.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
version:
15-
- 1.46.0 # MSRV
15+
- 1.56.0 # MSRV
1616
- stable
1717
- beta
1818
- nightly
@@ -29,7 +29,7 @@ jobs:
2929
run: TOOLCHAIN=${{ matrix.version }} TARGET=${{ matrix.target }} sh ./ci/install-rust.sh
3030

3131
- name: Check MSRV
32-
if: matrix.version == '1.46.0'
32+
if: matrix.version == '1.56.0'
3333
run: cargo check
3434

3535
# FIXME: Some symbols cause multiple definitions error on the same line:
@@ -38,9 +38,9 @@ jobs:
3838
# /home/runner/work/ctest2/ctest2/target/debug/deps/libtestcrate-a072d428f9532abb.rlib(t1.o):
3939
# /home/runner/work/ctest2/ctest2/testcrate/src/t1.h:65: first defined here
4040
# - name: Run tests
41-
# if: matrix.version != '1.46.0'
41+
# if: matrix.version != '1.56.0'
4242
# run: cargo test --all -- --nocapture
4343

4444
- name: Run libc tests
45-
if: matrix.version != '1.46.0'
45+
if: matrix.version != '1.56.0'
4646
run: sh ./ci/run-docker.sh ${{ matrix.target }}

ctest/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Automated tests of FFI bindings.
1111
"""
1212
include = ["src/lib.rs", "LICENSE-*", "README.md"]
1313
edition = "2018"
14+
rust-version = "1.56.0"
1415

1516
[dependencies]
1617
garando_syntax = "0.1"

ctest/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ APIs in Rust match the APIs defined in C.
1414

1515
## MSRV (Minimum Supported Rust Version)
1616

17-
The MSRV is 1.46.0 because of the `bitflags` dependency.
17+
The MSRV is 1.56.0 because of the transitive dependencies.
1818
Note that MSRV may be changed anytime by dependencies.
1919

2020
## Example
@@ -91,17 +91,17 @@ you can browse [the documentation][dox].
9191

9292
## Projects using ctest2
9393

94-
* [libc](https://github.com/rust-lang/libc)
95-
* [libz-sys](https://github.com/rust-lang/libz-sys)
94+
- [libc](https://github.com/rust-lang/libc)
95+
- [libz-sys](https://github.com/rust-lang/libz-sys)
9696

9797
## License
9898

9999
This project is licensed under either of
100100

101-
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
102-
https://www.apache.org/licenses/LICENSE-2.0)
103-
* MIT license ([LICENSE-MIT](LICENSE-MIT) or
104-
https://opensource.org/licenses/MIT)
101+
- Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
102+
https://www.apache.org/licenses/LICENSE-2.0)
103+
- MIT license ([LICENSE-MIT](LICENSE-MIT) or
104+
https://opensource.org/licenses/MIT)
105105

106106
at your option.
107107

0 commit comments

Comments
 (0)