Cargo still generating .a files on Windows with Rust-msvc?


#1

Hello,

Apparently static libraries built with cargo on Windows still carry the .a suffix when using the MSVC toolchain.

However from the comments on https://github.com/rust-lang/rust/issues/29508 I understood that Rust 1.6 release already had the fixes for generating .lib instead.

Am I misunderstanding it?


Paulo


#2

That change just got merged on January 21, right after the 1.6 release, at which point it becomes part of the current nightly compiler. Once every 6 weeks, the current nightly becomes the current beta, and the current beta becomes the current release. So this change won’t be present in the stable compiler until 1.8. If you want it now, you can grab a nightly compiler instead.


#3

Thanks for the clarification.

I can surely wait.

Apparently I need to improve my Git-Fu, as I couldn’t get which version had
it.