From 89ba56c89fd913715b37f5e6d2957439254dceda Mon Sep 17 00:00:00 2001 From: tison Date: Mon, 27 Jul 2026 17:09:10 +0800 Subject: [PATCH] Declare psm MSRV Declare Rust 1.88 as psm's minimum supported Rust version, matching ar_archive_writer 0.5.2, and test it in CI. --- .github/workflows/test.yml | 17 +++++++++++++++++ psm/Cargo.toml | 1 + 2 files changed, 18 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5c6b006..b9f9dc5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,6 +12,23 @@ on: workflow_dispatch: jobs: + psm-msrv-test: + name: Test psm on MSRV + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install Rust 1.88.0 + uses: actions-rs/toolchain@v1 + with: + toolchain: 1.88.0 + profile: minimal + default: true + - name: Test psm + uses: actions-rs/cargo@v1 + with: + command: test + args: --manifest-path=psm/Cargo.toml --all-targets + native-test: name: Test ${{ matrix.manifest }} on ${{ matrix.os }} with ${{ matrix.rust_toolchain }} and ${{ matrix.mode }} runs-on: ${{ matrix.os }} diff --git a/psm/Cargo.toml b/psm/Cargo.toml index 22b4ab7..f1ccc1b 100644 --- a/psm/Cargo.toml +++ b/psm/Cargo.toml @@ -2,6 +2,7 @@ name = "psm" version = "0.1.31" edition = "2021" +rust-version = "1.88.0" authors = ["Simonas Kazlauskas "] build = "build.rs" description = "Portable Stack Manipulation: stack manipulation and introspection routines"