Skip to content

Commit 4ec4e6c

Browse files
authored
install rust-src properly (#3390)
1 parent 3cfa8ec commit 4ec4e6c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/documentation.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ jobs:
4343
ldproxy: false
4444
version: 1.85.0.0
4545

46+
# xtensa-toolchain installs rustup and a basic toolchain, but doesn't install rust-src
47+
- name: rust-src
48+
run: rustup component add rust-src --toolchain nightly
49+
4650
# TODO: we could build this once and download onto each runner
4751
# Build the `xtask` package using the latest commit, and copy the
4852
# resulting binary to the `~/.cargo/bin/` directory. We do this to
@@ -87,7 +91,6 @@ jobs:
8791
- uses: dtolnay/rust-toolchain@v1
8892
with:
8993
toolchain: stable
90-
components: rust-src
9194
- name: Prepare
9295
run: mkdir docs && mkdir docs/esp-hal && mkdir docs/esp-wifi && mkdir docs/esp-lp-hal
9396
- name: Download all docs

0 commit comments

Comments
 (0)