arkworks-rs / std

A standard library wrapper for use in the `arkworks` ecosystem
https://www.arkworks.rs
Apache License 2.0
37 stars 34 forks source link

ark-std does not compile in `no_std` #1

Closed tsunrise closed 4 years ago

tsunrise commented 4 years ago

It seems that ark-std does not compile in no_std, here's the error:

   Compiling ark-std v0.1.0 (https://github.com/arkworks-rs/utils/#423b772d)
error[E0432]: unresolved import `alloc::sync`
Error:   --> /cargo/git/checkouts/utils-540e2bc5e2565ace/423b772/std/src/lib.rs:35:20
   |
35 |     pub use alloc::sync::*;
   |                    ^^^^ could not find `sync` in `alloc`
Pratyush commented 4 years ago

Hmm running cargo check --no-default-features works for me...

tsunrise commented 4 years ago

cargo check --no-default-features also works on my side, but cross in my CI complains about that

Pratyush commented 4 years ago

Should be fixed now?

tsunrise commented 4 years ago

fixed