File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 65
65
# Miscellaneous tests.
66
66
- LLVM_VERSION="9.0" BINDGEN_JOB="misc"
67
67
- LLVM_VERSION="9.0" BINDGEN_JOB="quickchecking"
68
+ - LLVM_VERSION="9.0" BINDGEN_JOB="msrv"
68
69
69
70
matrix :
70
71
fast_finish : true
Original file line number Diff line number Diff line change @@ -37,6 +37,12 @@ extern "C" {
37
37
38
38
[ 📚 Read the ` bindgen ` users guide here! 📚] ( https://rust-lang.github.io/rust-bindgen )
39
39
40
+ ## MSRV
41
+
42
+ The minimum supported Rust version is ** 1.34** .
43
+
44
+ No MSRV bump policy has been established yet, so MSRV may increase in any release.
45
+
40
46
## API Reference
41
47
42
48
[ API reference documentation is on docs.rs] ( https://docs.rs/bindgen )
Original file line number Diff line number Diff line change @@ -26,6 +26,15 @@ case "$BINDGEN_JOB" in
26
26
./ci/assert-no-diff.sh
27
27
;;
28
28
29
+ " msrv" )
30
+ # Test that the bindgen library can be built with the minimum supported Rust version
31
+ # This test should not use Cargo.lock as it's ignored for library builds
32
+ rm Cargo.lock
33
+ # The MSRV below is also documented in README.md, please keep in sync
34
+ rustup install 1.34.0
35
+ cargo +1.34.0 build --lib $NO_DEFAULT_FEATURES --features " $BINDGEN_FEATURES "
36
+ ;;
37
+
29
38
" integration" )
30
39
cd ./bindgen-integration
31
40
cargo test " $BINDGEN_PROFILE " $NO_DEFAULT_FEATURES --features " $BINDGEN_FEATURES "
You can’t perform that action at this time.
0 commit comments