im currently writing a shared library that i want to preload into other programs to intercept system calls. The current version is written in C but I am thinking about rewriting it in Rust to make use of it’s higher level abstractions as the logic of the library is getting more complex.
As I want to preload the library I am currently using a version script to only export the symbols I want to intercept.
My Question: I found no way to specify the needed version script linker option using cargo. Is there any way to achieve this?