Skip to content

Commit

Permalink
async-signature: no_std support (#1544)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri committed Apr 2, 2024
1 parent 59c34d2 commit 022eb01
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/async-signature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,25 @@ env:
RUSTFLAGS: "-Dwarnings"

jobs:
no_std:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.75.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.target }}
- run: cargo build --target ${{ matrix.target }} --release --no-default-features

test:
runs-on: ubuntu-latest
strategy:
Expand Down
1 change: 1 addition & 0 deletions async-signature/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![no_std]
#![doc = include_str!("../README.md")]
#![doc(
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg",
Expand Down

0 comments on commit 022eb01

Please sign in to comment.