Skip to content

Commit

Permalink
doc: note how to do Rust builds on Ubuntu, at least.
Browse files Browse the repository at this point in the history
In particular, using cargo to install rustfmt doesn't work.

Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell committed Apr 6, 2022
1 parent 17903c8 commit 356514c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
---------------------

Expand Down

0 comments on commit 356514c

Please sign in to comment.