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

Can't compile no_std code #466

Open
nazar-pc opened this issue Sep 29, 2024 · 0 comments
Open

Can't compile no_std code #466

nazar-pc opened this issue Sep 29, 2024 · 0 comments

Comments

@nazar-pc
Copy link

nazar-pc commented Sep 29, 2024

I included no_std dependency and got this confusing error:

  --> crates/subspace-proof-of-time/src/aes.rs:18:8
   |
   |     #[cfg(target_arch = "x86_64")]
18 |     if std::is_x86_feature_detected!("aes") {
   |        ^^^ use of undeclared crate or module `std`

Is it really compiling with no_std for x86-64? Why?
I thought it'll be building guest code for RISCV32IM with no_std instead.

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

1 participant