i want to make my project/code more modular. I want to code a program that has first an n/pancursed based userinterface and then sometime and gui (when i have found and gui-crate that don’t need external c-compiler and are rust-core) and a few isolated functions.
I want to say the compiler that he should make an executable with all functions, only a specified function or an build with all functions but with one executable for one function.
And how can i use rlibs or build completly a executable was has for every functions an rlib and check the rlib presence. Like the dlls/sos for c/c++ executables.
So i hope anybody can help me, when my project are growing i can at the first steps keep an simple order and use the compiler flags more.
PS: By the way, how can i control what name gives cargo/rustc the rustr std-lib when i compile its dynamic and how can i control names for the points aboeve?