dappforce/subsocial-solochain

Compile error

J-Cook-jr opened this issue · 4 comments

Hi, I'm getting this error after running cargo build --release. Can you help me solve this issue? Thanks!

Screen Shot 2021-04-05 at 1 44 28 PM

rustup update nightly-2020-07-02
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-07-02

Then run cargo commands win +nightly-2020-07-02 or just run one-time command rustup override set nightly-2020-07-02.
This should help with this compiler errors.

@J-Cook-jr try to execute before compiling file init.sh in script directory.

@J-Cook-jr try to execute before compiling file init.sh in script directory.

Not sure that scripts/init.sh is ok on the branch which @J-Cook-jr used to compile.
Furthermore, on the current master there's rust-toolchain file, which specifies version to use to compile.
Your suggestion is ok after #108 will be merged. Toolchain file is going to be removed (because of srtool conflict) and all configurations will go to init.sh then.

siman commented

Should be fixed by this PR: #108