Fixes for binding against libagc#23
Conversation
…o we can work on the C ABI
|
Note I create Rust bindings linked against libagc.so: => https://github.com/pjotrp/libagc-sys See also the included test in lib.rs. It binds against the updated agc: which contains the fixes that don't allow C++ exceptions to pass through the C ABI. Finally, rather than messing with the impg code tree (which keeps changing), I created a test crate that mirrors impg: => https://github.com/pjotrp/testlibagc which can be build and run with At least we have a reference implementation for binding successfully against a shared C library with a very light and standardised interface. It obviously also works in Guix. We can use it to benchmark against the new (impressive) Rust implementation by Erik. It also acts as a template for future bindings. |
Added shared library as output, i.e.
Also fixes C ABI: