How to use a rlib dependency when I use cargo?

#1

rustc -L
It’s easy to do this with rustc, but I want to do it with cargo…

#2

That’s not supported “natively” in the way other Rust deps are. You’d have to create equivalent of a sys crate that outputs search path and linker flag from build.rs (I think… I haven’t tried that)

1 Like
closed #3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.