Open Chukwuebuka-2003 opened 1 month ago
when running anchor build:
error[E0635]: unknown feature stdsimd
--> /home/ebuka/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.8.6/src/lib.rs:99:42
|
99 | #![cfg_attr(feature = "stdsimd", feature(stdsimd))]
| ^^^^^^^
For more information about this error, try rustc --explain E0635
.
error: could not compile ahash
(lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
Error: Building IDL failed
i got this:
anchor build thread 'main' panicked at cli/src/lib.rs:1252:47: Not in workspace. note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
that's because you are not in the anchor root directory, you are outside of it, go to the contract folder and run, anchor build.
i got this:
anchor build thread 'main' panicked at cli/src/lib.rs:1252:47: Not in workspace. note: run with RUST_BACKTRACE=1 environment variable to display a backtrace