How to use a rlib dependency when I use cargo?


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


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 (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.