There is also a great compilation of resources for linking from an older topic, maybe you will find an answer there:
I find this section very interesting: Using C libraries in Rust: make a sys crate
There is also a great compilation of resources for linking from an older topic, maybe you will find an answer there:
I find this section very interesting: Using C libraries in Rust: make a sys crate