Closed trevor-crypto closed 2 years ago
The CI should check whether no_std
builds are working. Any idea why this wasn't caught there?
The CI should check whether
no_std
builds are working. Any idea why this wasn't caught there?
@athei I don't think that actually checks against a no-std target. You need to add a target like thumbv6m-none-eabi
and build for no_std with cargo build --target thumbv6m-none-eabi --no-default-features
The only difference I see is that your command line is cross compiling where the CI does not. Both use --no-default-features
. It that correct?
@athei they both use --no-default-features
but that doesn't guarantee that the library will build successfully for a target without std
. You can also use something like https://github.com/hobofan/cargo-nono to do a check
Relates to #71