For sccache to cache rustc builds it uses rustc --print file-names to figure out which files get emitted so it cache them for later. For --emit metadata builds it appears that rustc prints that it would emit a .rlib file which seems to be false, only .rmeta files get emitted.
Trying to find out where this happens but so far no luck (it might actually be correct behavior and the fix should be in sccache).
See mozilla/sccache#301 (comment)
For sccache to cache rustc builds it uses
rustc --print file-namesto figure out which files get emitted so it cache them for later. For--emit metadatabuilds it appears thatrustcprints that it would emit a.rlibfile which seems to be false, only.rmetafiles get emitted.Trying to find out where this happens but so far no luck (it might actually be correct behavior and the fix should be in sccache).
See mozilla/sccache#301 (comment)