mirror of https://github.com/waku-org/nwaku.git
chore(rln): add cleanrln make rule + docu (#910)
* chore(rln): add cleanrln to make rule - add `cargo clean` to `make clean` - add new `cleanrln` make rule that `cargo clean`s the rln vendor repo * docs(rln): add trouble shooting section - list `make cleanrln` as a solution to force rebuilding the rln crate
This commit is contained in:
parent
c9e82873f1
commit
0131d1437e
5
Makefile
5
Makefile
|
@ -223,6 +223,11 @@ clean: | clean-common
|
|||
ifneq ($(USE_LIBBACKTRACE), 0)
|
||||
+ $(MAKE) -C vendor/nim-libbacktrace clean $(HANDLE_OUTPUT)
|
||||
endif
|
||||
cargo clean --manifest-path vendor/rln/Cargo.toml
|
||||
|
||||
# clean the rln build (forces recompile of old crates on next build)
|
||||
cleanrln:
|
||||
cargo clean --manifest-path vendor/rln/Cargo.toml
|
||||
|
||||
endif # "variables.mk" was not included
|
||||
|
||||
|
|
|
@ -123,3 +123,21 @@ Connecting to storenode: 16Uiu2HAmPLe7Mzm8TsYUubgCAW1aJoeFScxrLj8ppHFivPo97bUZ
|
|||
>> /exit
|
||||
quitting...
|
||||
```
|
||||
|
||||
# Trouble shooting
|
||||
|
||||
## compilation error: found possibly newer version of crate
|
||||
|
||||
|
||||
If running `make chat2 RLN=true` yields a compile error like this
|
||||
|
||||
```
|
||||
error[E0460]: found possibly newer version of crate `std` which `sapling_crypto_ce` depends on
|
||||
--> src/circuit/polynomial.rs:1:5
|
||||
|
|
||||
1 | use sapling_crypto::bellman::pairing::ff::{Field, PrimeField, PrimeFieldRepr};
|
||||
```
|
||||
|
||||
run
|
||||
|
||||
`make cleanrln` before running `make chat2 RLN=true` again.
|
||||
|
|
Loading…
Reference in New Issue