X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=lightning-c-bindings%2FREADME.md;h=72426bdf334ed0f265cd7a4220c7c4381b1b86c0;hb=45a558b17013531f95f40f1211647ae677e84a23;hp=fa33a9f4d69dbc6b994d22c758efe12c89132fd3;hpb=253af8dd617161b2bd79173f9da3ecc0b0991f7e;p=rust-lightning diff --git a/lightning-c-bindings/README.md b/lightning-c-bindings/README.md index fa33a9f4..72426bdf 100644 --- a/lightning-c-bindings/README.md +++ b/lightning-c-bindings/README.md @@ -222,6 +222,12 @@ These include: **It is highly recommended that you test any code which relies on the C (or C++) bindings in valgrind, AddressSanitizer, MemorySanitizer, or other similar tools to ensure correctness.** +Process +======= + +`genbindings.sh` is currently a catch-all script for bindings - it generates the latest Rust/C/C++ +code for bindings from the rust-lightning source code, builds it, and then runs various test apps. + Note that after running `genbindings.sh`, if possible, the static lib in target/debug (eg target/debug/liblightning.a) will be linked with address sanitizer. In order to build against it, you will need to link with `clang` with `-fsanitize=address` with the same version of LLVM as