Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Carolyn Zech <cmzech@amazon.com>
  • Loading branch information
celinval and carolynzech authored Jan 3, 2025
1 parent 28bc37e commit 120f1c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/check_rustc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ TMP_RUST_DIR=$(mktemp -d -t "check_rustc_XXXXXX")
echo "Checking out local repository..."
cd "$REPO_DIR"

# Get the commit ID from rustc --version
# Get the (short hash) commit ID from rustc --version
echo "Retrieving commit ID..."
COMMIT_ID=$(rustc --version | sed -e "s/.*(\(.*\) .*/\1/")

Expand Down Expand Up @@ -85,6 +85,7 @@ cp -r "${REPO_DIR}/library" "${TMP_RUST_DIR}"

# Configure repository
pushd "${TMP_RUST_DIR}"
# Download LLVM binaries from Rust's CI instead of building them
./configure --set=llvm.download-ci-llvm=true
export RUSTFLAGS="--check-cfg cfg(kani) --check-cfg cfg(feature,values(any()))"
export RUST_BACKTRACE=1
Expand Down

0 comments on commit 120f1c2

Please sign in to comment.