I am trying to create a rust library for a c program, using build.rs i can compile c libraries and link them with rust binaries, is there anyway i can do same for c executables.
If you can move functionality of the C executable into a library, and create a Rust executable that calls the C code. The laziest version of that would be to rename C's
main to something else and call that.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.