Closed
Description
This appears to be caused by a change in #37403.
This appears to be causing a breaking change on nightly from stable. I'm compiling an (unreleased) FFI library that handles the linking to certain static libraries in a build script (so the extern "C"
block is unannotated). It depends on the libc crate. Other than that it does nothing out of the ordinary. I'm compiling using the windows msvc x64 toolchain. On nightly, but not on stable, I get the error message:
error: renaming of the library `C` was specified, however this crate contains no #[link(...)] attributes referencing this library.
Is this library C
referring to libc? My crate has an entirely unrelated name.