Closed
Description
Requesting both metadata
and obj
without link
fails:
$ echo | rustc --crate-type rlib --emit=metadata,obj -
The output files are created, but the compiler thinks it still has to build the archive:
error: failed to build archive: No such file or directory
The same behavior happens for other metadata + non-link combinations.
Meta
Both latest stable (1.49.0) and nightly exhibit the problem.