Print native-static-libs

Hi,

How can I get the list of needed lib to links against with cargo?

I found this Print=native-static-libs but it wasn't helpful and calling rustc seems cumbersome…

cargo rustc -q -- --print=native-static-libs

ought to work.

Demo

2 Likes

Thanks!

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.