From 29931da81c817a7933141b04796d6ed2ab919b4e Mon Sep 17 00:00:00 2001 From: AverageHelper Date: Mon, 6 Apr 2026 04:41:08 -0700 Subject: [PATCH] feat(ci): ensure no_std builds --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3223f2fb..25a03c29 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,6 +31,12 @@ jobs: - name: Check Clippy run: cargo clippy --workspace --all-targets -- -D warnings + # Building --all-targets for a no_std environment fails because the tests depend on std + - name: Try no_std build + run: | + rustup target add thumbv6m-none-eabi + cargo build --release --workspace --lib --bins --examples --target thumbv6m-none-eabi + # Please keep this in sync with `publish-docs.yml` documentation: name: Documentation