Skip to content

Commit c0cfccb

Browse files
committed
Update MSRV to 1.58
The rust version 1.53 was supported in OpenSUSE Leap 15.3 which has reached EOL. The new MSRV 1.58 is decided after looking into distributions that are of interest. Signed-off-by: Gowtham Suresh Kumar <[email protected]>
1 parent 992078f commit c0cfccb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

ci.sh

+8-8
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

0 commit comments

Comments
 (0)