Creating main project using another util project outputs .so file and using that .so building main project by using it and dyamically linking

⚓ Rust    📅 2026-03-10    👤 surdeus    👁️ 1      

surdeus

My requirement I will build a .so library from utils in a separate directory and main from another directory the main should only have the so it can't have the source code, if needed you can use any intermediate in between for function symbols but strictly no cdylib and extern c no FFI

just utils build separately and main built using the utils output so only or any supporting file but not source code

3 posts - 3 participants

Read full topic

🏷️ Rust_feed