update rust version

This commit is contained in:
Mateusz Gruszczyński committed 2026-10-10 23:34:10 +02:00
1 parent 17f1de681e
commit af78f6528c
7 files changed
+307 -9

No files matched your search

+7 -6
View File
@@ -54,6 +54,7 @@ fi
export PACKAGE_RELEASE
cd "$SRC"
LINUX_RUST_TOOLCHAIN=$(/opt/rust-package-builder/scripts/ensure-rust-toolchain.sh "$SRC" linux)
log "Linux branch: version $VERSION release $PACKAGE_RELEASE"
TEST_MODE="${RUN_LINUX_TESTS:-compile}"
@@ -64,18 +65,18 @@ case "$TEST_MODE" in
1|compile|check|no-run)
log "Linux cargo tests compile check started (--no-run)"
if [[ -f Cargo.lock ]]; then
cargo test --release --locked --no-run
cargo "+$LINUX_RUST_TOOLCHAIN" test --release --locked --no-run
else
cargo test --release --no-run
cargo "+$LINUX_RUST_TOOLCHAIN" test --release --no-run
fi
log "Linux cargo tests compile check completed"
;;
full|run)
log "Linux full cargo tests started"
if [[ -f Cargo.lock ]]; then
cargo test --release --locked
cargo "+$LINUX_RUST_TOOLCHAIN" test --release --locked
else
cargo test --release
cargo "+$LINUX_RUST_TOOLCHAIN" test --release
fi
log "Linux full cargo tests completed"
;;
@@ -86,9 +87,9 @@ esac
log "Linux cargo build started"
if [[ -f Cargo.lock ]]; then
cargo build --release --locked
cargo "+$LINUX_RUST_TOOLCHAIN" build --release --locked
else
cargo build --release
cargo "+$LINUX_RUST_TOOLCHAIN" build --release
fi
log "Linux cargo build completed"