Skip to content

Commit

Permalink
install_upstream_rust_keylime: Pin rust compiler version 1.74.1
Browse files Browse the repository at this point in the history
Replace the nightly version usage with a pinned version (1.74.1) that
supports code instrumentation for test coverage measurement by tarpaulin

Signed-off-by: Anderson Toshiyuki Sasaki <[email protected]>
  • Loading branch information
ansasaki authored and kkaarreell committed Mar 18, 2024
1 parent 04fa930 commit 74a257f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup/install_upstream_rust_keylime/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ rlJournalStart

rlRun "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y"
rlRun "source /root/.cargo/env"
rlRun "rustup default nightly"
# This pinned version allows generated instrumented code for tarpaulin
# to generate code coverage measurements
rlRun "rustup default 1.74.1"
rlRun "rustup component add llvm-tools-preview"
sleep 3
#install parser for code coverage files
Expand Down

0 comments on commit 74a257f

Please sign in to comment.