From 356514c753ce5e9bf3f81f7ccbc397080c2d9d02 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 6 Apr 2022 11:13:21 +0930 Subject: [PATCH] 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 --- doc/INSTALL.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/INSTALL.md b/doc/INSTALL.md index 34620791eb2a..459055eb5eb7 100644 --- a/doc/INSTALL.md +++ b/doc/INSTALL.md @@ -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 ---------------------