File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
LDK C Bindings Generator
2
2
========================
3
3
4
- This program parses a single-file-lib.rs Rust crate's AST passed in on stdin and generates a second
5
- crate which is C-callable (and carries appropriate annotations for cbindgen). It is usually invoked
6
- via the ` genbindings.sh ` script in the top-level directory, which converts the lightning crate into
7
- a single file with a call to
4
+ This program parses a Rust crate's AST from a single lib.rs passed in on stdin and generates a
5
+ second crate which is C-callable (and carries appropriate annotations for cbindgen). It is usually
6
+ invoked via the ` genbindings.sh ` script in the top-level directory, which converts the lightning
7
+ crate into a single file with a call to
8
8
` RUSTC_BOOTSTRAP=1 cargo rustc --profile=check -- -Zunstable-options --pretty=expanded ` .
9
9
10
10
` genbindings.sh ` requires that you have a rustc installed with the ` wasm32-wasi ` target available
You can’t perform that action at this time.
0 commit comments