瀏覽代碼

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

LoGin 1 年之前
父節點
當前提交
6abb8bd7c0
共有 1 個文件被更改,包括 2 次插入0 次删除
  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