--print native-static-libs
with --emit metadata
prints nothing
#137384
Labels
A-CLI
Area: Command-line interface (CLI) to the compiler
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
It should be possible to print the necessary native libs without actually creating the static library. However, combining
--emit metadata
with--print native-static-libs
does not print anything.I tried this:
I expected to see this printed to the console:
Instead, this happened: the output is empty.
If I run without
--emit metadata
it works:However, this also creates
libnull.a
.Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: