Skip to content

Commit da820b5

Browse files
Merge pull request #661 from gowthamsk-arm/update_msrv
Update MSRV to 1.58
2 parents 992078f + 1f26624 commit da820b5

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

ci.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -326,15 +326,15 @@ if [ "$PROVIDER_NAME" = "cargo-check" ]; then
326326
# and an old Rust compiler.
327327
# The old Rust compiler version is found by manually checking the oldest Rust version of all
328328
# Linux distributions that we support:
329-
# - Fedora 33 and more recent releases
330-
# - RHEL-8
329+
# - Fedora 36 and more recent releases
330+
# - RHEL-9 (intend to support in the future)
331331
# - openSUSE Tumbleweed
332-
# - openSUSE Leap 15.3
333-
# The oldest is currently in openSUSE Leap 15.3 and is 1.53.0.
332+
# - openSUSE Leap 15.4
333+
# The oldest is currently in RHEL9, is 1.58.1.
334334

335-
rustup toolchain install 1.53.0
336-
# The "jwt-svid-authenticator" can not be compiled on 1.53.0
337-
RUST_BACKTRACE=1 cargo +1.53.0 check --release --features=all-providers,direct-authenticator,unix-peer-credentials-authenticator
335+
rustup toolchain install 1.58.1
336+
# The "jwt-svid-authenticator" can not be compiled on 1.58.1
337+
RUST_BACKTRACE=1 cargo +1.58.1 check --release --features=all-providers,direct-authenticator,unix-peer-credentials-authenticator
338338

339339
# Latest stable
340340
rustup toolchain install stable
@@ -452,7 +452,7 @@ else
452452
# We first create the keys
453453
RUST_BACKTRACE=1 cargo test $TEST_FEATURES --manifest-path ./e2e_tests/Cargo.toml before_tpm_reset
454454
stop_service
455-
455+
456456
reset_tpm
457457

458458
# We then spin up the service again and check that the keys can still be used

fuzz/run_fuzz.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55

66
set -ex
77

8+
# Use the newest version of the Rust toolchain
9+
rustup update
10+
811
# The clean up procedure is called when the script finished or is interrupted
912
cleanup () {
1013
# Stop tpm_server if running

0 commit comments

Comments
 (0)