Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ark-std does not compile in no_std #1

Closed
tsunrise opened this issue Sep 23, 2020 · 4 comments
Closed

ark-std does not compile in no_std #1

tsunrise opened this issue Sep 23, 2020 · 4 comments

Comments

@tsunrise
Copy link
Member

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
Copy link
Member

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

@tsunrise
Copy link
Member Author

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

@Pratyush
Copy link
Member

Should be fixed now?

@tsunrise
Copy link
Member Author

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants