add rust-src component in CI for consistent error messages

This commit is contained in:
Jacob Lifshay 2025-09-08 22:16:49 -07:00
parent b5b1ee866c
commit d3dd66cbf0
Signed by: programmerjake
SSH key fingerprint: SHA256:HnFTLGpSm4Q4Fj502oCFisjZSoakwEuTsJJMSke63RQ

View file

@ -41,6 +41,7 @@ jobs:
- run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.89.0
source "$HOME/.cargo/env"
rustup component add rust-src
echo "$PATH" >> "$GITHUB_PATH"
- uses: https://git.libre-chip.org/mirrors/cache/restore@v3
with: