|
|
|
|
|
by Manishearth
3687 days ago
|
|
Not really, there are tools that can take C header files and spit out bindings. Rust also supports vararg C functions even though Rust itself doesn't support varargs. Writing safe Rust wrappers around these unsafe C bindings can sometimes be tedious, but this isn't worse than using C directly (which is inherently unsafe). |
|
I wasn't aware of the tools that do this automatically. Just found one and it looks promising.