Browse Source

在github workflow的工具链配置文件里面添加rust-src组件 (#400)

LoGin 1 year ago
parent
commit
6abb8bd7c0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .github/workflows/cache-toolchain.yml

+ 2 - 0
.github/workflows/cache-toolchain.yml

@@ -52,6 +52,8 @@ jobs:
             rustup component add llvm-tools-preview
             rustup target add x86_64-unknown-none
             rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
+            rustup component add rust-src --toolchain nightly-2023-01-21-x86_64-unknown-linux-gnu
+            rustup component add rust-src --toolchain nightly-2023-08-15-x86_64-unknown-linux-gnu
             rustup component add rustfmt
             rustup component add rustfmt --toolchain nightly-2023-01-21-x86_64-unknown-linux-gnu
             rustup component add rustfmt --toolchain nightly-2023-08-15-x86_64-unknown-linux-gnu