From 4ec4e6cfbdc02f2fa92f85985f5d98fd6a22b102 Mon Sep 17 00:00:00 2001 From: Scott Mabin Date: Tue, 15 Apr 2025 12:55:05 +0100 Subject: [PATCH] install rust-src properly (#3390) --- .github/workflows/documentation.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 379fc4593..cbb9f2dc2 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -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