Okay, started a @rustlang branch in librsvg. Ported a single function; learned a lot. No idea of how to link it to the C code yet!
a quick summary: #[no_mangle] extern fn to get the ABI right. Compile as a cdylib. That'll be able to link directly.
-
-
thanks; I'll try this and the docs you pointed to!
-
You'll need to use Rust for linking the whole thing though (or lots tricky fiddling), or have two .so (C & Rust)
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.