install rust-src properly (#3390)

This commit is contained in:
Scott Mabin 2025-04-15 12:55:05 +01:00 committed by GitHub
parent 3cfa8ec852
commit 4ec4e6cfbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,6 +43,10 @@ jobs:
ldproxy: false
version: 1.85.0.0
# xtensa-toolchain installs rustup and a basic toolchain, but doesn't install rust-src
- name: rust-src
run: rustup component add rust-src --toolchain nightly
# TODO: we could build this once and download onto each runner
# Build the `xtask` package using the latest commit, and copy the
# resulting binary to the `~/.cargo/bin/` directory. We do this to
@ -87,7 +91,6 @@ jobs:
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
components: rust-src
- name: Prepare
run: mkdir docs && mkdir docs/esp-hal && mkdir docs/esp-wifi && mkdir docs/esp-lp-hal
- name: Download all docs