w3f / schnorrkel

Schnorr VRFs and signatures on the Ristretto group
BSD 3-Clause "New" or "Revised" License
309 stars 93 forks source link

Test `no_std` builds on a target lacking `std` #94

Closed pinkforest closed 1 year ago

pinkforest commented 1 year ago

This has bitten me more times than I care to admit :)

So here is a build-test for no_std that ensures build on a target that lacks std - default target would have std available.

It also tests all the features properly when / if introduced automatically unless excluded as std e.g. getrandom / std

We use the same in curve25519-dalek

burdges commented 1 year ago

LGTM but can we trigger this manually?

pinkforest commented 1 year ago

Just needs workflow_dispatch: at top under on: