From acaedd1771a1cfba40500004e44025097c2e81d6 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 28 Nov 2020 01:13:46 +0100 Subject: [PATCH 1/2] Update bindgen to version 0.56 Signed-off-by: Fabio Valentini --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 9d3c7cf9..62b96e7f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ zeroize = { version = "1.1.0", features = ["zeroize_derive"] } env_logger = "0.7.1" [build-dependencies] -bindgen = "0.54.0" +bindgen = "0.56.0" pkg-config = "0.3.18" [features] From c892c2d0893e09928171991f8f02b17d36dd6849 Mon Sep 17 00:00:00 2001 From: Ionut Mihalcea Date: Wed, 9 Dec 2020 14:47:33 +0000 Subject: [PATCH 2/2] Remove legacy and nightly compiler checking Signed-off-by: Ionut Mihalcea --- README.md | 9 +++++++++ tests/all-ubuntu.sh | 30 ------------------------------ 2 files changed, 9 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index 7f59a139..05cfd5a9 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,15 @@ case: $ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ``` +## Minimum Supported Rust Version (MSRV) + +At the moment we test (via CI) and support the following Rust compiler versions: + +* On Ubuntu we test with the latest stable compiler version, as accessible through `rustup`. +* On Fedora we test with the compiler version included with the Fedora 33 release. + +If you need support for other versions of the compiler, get in touch with us to see what we can do! + ## Community channel Come and talk to us in [our Slack channel](https://app.slack.com/client/T0JK1PCN6/CPMQ9D4H1)! diff --git a/tests/all-ubuntu.sh b/tests/all-ubuntu.sh index ad61d492..fc387940 100755 --- a/tests/all-ubuntu.sh +++ b/tests/all-ubuntu.sh @@ -31,33 +31,3 @@ RUST_BACKTRACE=1 cargo build # Run the tests # ################# RUST_BACKTRACE=1 RUST_LOG=info cargo test -- --test-threads=1 --nocapture - -################### -# Stop TPM server # -################### -pkill tpm_server - -############################# -# Install nightly toolchain # -############################# -rustup toolchain install nightly - -############################ -# Install legacy toolchain # -############################ -rustup toolchain install 1.38.0 - -#################### -# Verify doc build # -#################### -cargo +nightly doc --features docs --verbose --no-deps - -######################## -# Verify nightly build # -######################## -cargo +nightly build - -##################################### -# Verify build with legacy compiler # -##################################### -RUST_BACKTRACE=1 cargo +1.38.0 build