瀏覽代碼

fix(workflow): set MSRV test to 1.83.0 nightly-2024-11-26

Signed-off-by: Zhouqi Jiang <luojia@hust.edu.cn>
Zhouqi Jiang 2 月之前
父節點
當前提交
e4d32c7492
共有 2 個文件被更改,包括 8 次插入7 次删除
  1. 6 6
      .github/workflows/Rust.yml
  2. 2 1
      README.md

+ 6 - 6
.github/workflows/Rust.yml

@@ -32,7 +32,7 @@ jobs:
     needs: fmt
     strategy:
       matrix:
-        TOOLCHAIN: [nightly] # todo: MSRV checks
+        TOOLCHAIN: [nightly]
         TARGET: [riscv64imac-unknown-none-elf, riscv32imac-unknown-none-elf]
     steps:
       - uses: actions/checkout@v4
@@ -64,7 +64,7 @@ jobs:
       - uses: actions/checkout@v4
       - uses: actions-rust-lang/setup-rust-toolchain@v1
         with:
-          toolchain: nightly # TODO MSRV checks
+          toolchain: nightly
       - uses: Swatinem/rust-cache@v2
       - name: Run tests (no default features)
         run: |
@@ -82,7 +82,7 @@ jobs:
       - uses: actions/checkout@v4
       - uses: actions-rust-lang/setup-rust-toolchain@v1
         with:
-          toolchain: nightly # TODO MSRV checks
+          toolchain: nightly
       - uses: Swatinem/rust-cache@v2
       # - name: Check clippy
       #   run: cargo clippy -- -D warnings
@@ -101,7 +101,7 @@ jobs:
       - uses: actions-rust-lang/setup-rust-toolchain@v1
         with:
           target: ${{ matrix.TARGET }}
-          toolchain: nightly # TODO MSRV checks
+          toolchain: nightly
       - uses: Swatinem/rust-cache@v2
       - name: Build
         run: |
@@ -129,7 +129,7 @@ jobs:
           cargo build --target ${{ matrix.TARGET }} --verbose -p sbi-testing --features "log"
 
   msrv-test:
-    name: MSRV Test (Rust 1.86.0-nightly)
+    name: MSRV Test (Rust 1.83.0)
     runs-on: ubuntu-latest
     strategy:
       matrix:
@@ -144,7 +144,7 @@ jobs:
           - riscv64imac-unknown-none-elf
           - riscv32imac-unknown-none-elf
         TOOLCHAIN:
-          - nightly-2025-02-07
+          - nightly-2024-11-28
     steps:
       - name: Checkout repository
         uses: actions/checkout@v4

+ 2 - 1
README.md

@@ -20,7 +20,8 @@ or consult vendors if they provide discrete RustSBI package support.
 
 ## Minimum supported Rust version
 
-To compile RustSBI library, you need at least stable Rust version of `rustc 1.83.0`.
+To compile RustSBI library, you need at least nightly Rust version of `rustc 1.83.0 (90b35a623 2024-11-26)`.
+We are going to target stable Rustc once 2024 edition is landed (on 2025-02-20).
 
 ## Build this project