Rustc-link-lib static library
⚓ Rust 📅 2026-04-19 👤 surdeus 👁️ 3Hello,
I am trying to understand rustc-link-lib with a static library.
Why does this work:
println!("cargo:rustc-link-lib=sqlite3");
This file is libsqlite3.a.
What happens if I have libsqlite3.so and libsqlite3.a ?
Thank you very much in advance for any help.
5 posts - 3 participants
🏷️ Rust_feed