lightning-sys
lightning-sys copied to clipboard
rust bindings for GNU lightning
At present, `lightning-sys` uses a general `Reg` type to represent a register of type `R`, `V`, or `F`. Although `R` (caller-save) and `V` (callee-save) registers can be used interchangeably, `F`...
Using a "batteries-included" approach, `lightning-sys` downloads and installs a particular version of GNU Lightning. It seems likely that some users may wish to link against an already-installed version of GNU...
It should be possible to opportunistically enable full [link-time optimization in a cross-language way](https://doc.rust-lang.org/rustc/linker-plugin-lto.html) that would allow the compiled `lightning` library to be optimized directly with the `lightning-sys` wrappers. This...
they need to either consume the `jit_state` or not outlive it. there should probably be functions to do both of these
Lighting requires the exact pointer of `argv[0]` to be passed to `init_jit()` for disassembly to work. I haven't found a way to get this in rust.
# Summary GNU Lightning 2.2.0, including support for Apple's M1 architecture, was [released on 16 Nov 2022][1]. The current PR aims to support that version within `lightning-sys`. This PR might...