Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
SWvheerden committed Aug 8, 2023
1 parent aa153fa commit 2ec31e3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/clippy-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,16 @@ jobs:
with:
command: check
args: --release --all-targets
- name: Cargo check no default
uses: actions-rs/cargo@v1
with:
command: check
args: --release --no-default-features
# This check here is to ensure that it builds for no-std rust targets
- name: Cargo check for no-std
uses: actions-rs/cargo@v1
with:
command: check
toolchain: nightly
args: --no-default-features --target=thumbv8m.main-none-eabi -Zavoid-dev-deps

2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#[macro_use]
extern crate alloc;

#[cfg(any(feature = "wasm", feature = "ffi", feature = "bulletproofs_plus", test))]
#[cfg(any(feature = "bulletproofs_plus", test))]
#[macro_use]
extern crate std;

Expand Down

0 comments on commit 2ec31e3

Please sign in to comment.