mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-21 22:31:48 +01:00
doc: note how to do Rust builds on Ubuntu, at least.
In particular, using cargo to install rustfmt doesn't work. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
17903c89f2
commit
356514c753
1 changed files with 4 additions and 2 deletions
|
@ -61,6 +61,10 @@ For development or running tests, get additional dependencies:
|
|||
sudo apt-get install -y valgrind libpq-dev shellcheck cppcheck \
|
||||
libsecp256k1-dev jq
|
||||
|
||||
If you want to build the Rust plugins (currently, cln-grpc):
|
||||
|
||||
sudo apt-get install -y cargo rustfmt
|
||||
|
||||
Build lightning:
|
||||
|
||||
poetry install
|
||||
|
@ -74,8 +78,6 @@ Running lightning:
|
|||
./lightningd/lightningd &
|
||||
./cli/lightning-cli help
|
||||
|
||||
**Note**: You may need to include `testnet=1` in `bitcoin.conf`
|
||||
|
||||
To Build on Fedora
|
||||
---------------------
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue