PeerPiper / peerpiper

Home & Browser nodes, WebAssembly Wallets, Plugin system
https://peerpiper.io
MIT License
3 stars 1 forks source link

error[E0554]: `#![feature]` may not be used on the stable release channel #1

Open silkroadnomad opened 8 months ago

silkroadnomad commented 8 months ago

When cloning this repo and running cargo build

I get this error:

Compiling delanocreds v0.2.0 (/Users/nandi/Documents/projekte/DecentraSol/peerpiper/submodules/delanocreds/crates/delanocreds) Compiling wnfs v0.2.1 error[E0554]: #![feature] may not be used on the stable release channel --> submodules/delanocreds/crates/delanocreds/src/lib.rs:1:12 | 1 | #![feature(cfg_eval)] | ^^^^^^^^

For more information about this error, try rustc --explain E0554. error: could not compile delanocreds (lib) due to previous error warning: build failed, waiting for other jobs to finish...

DougAnderson444 commented 8 months ago

Ahh, right. This is likely due to missing git submodules.

There's a note in the peerpiper-wallet but it should probably be moved up to the main repo

https://github.com/PeerPiper/peerpiper/blob/c8431a77862aaa80aa98e8a25e173dc264432946/crates/peerpiper-wallet/README.md?plain=1#L17-L32

DougAnderson444 commented 8 months ago

Oh wait, you might be running rust stable, you need to switch to the nightly toolchain

rustup toolchain install nightly
rustup default nightly
DougAnderson444 commented 8 months ago

I should add the nightly as a rust-toolchain.toml requirement (done)