Content of *.d file doesn't match real outputs

For code

pub fn foo() {}

compiled with rustc --crate-type=lib --emit=metadata,dep-info,link, we have output files

foo.d  libfoo.rlib  libfoo.rmeta

This doesn't match what's inside foo.d




Is it expected? My rustc version

rustc 1.71.0-nightly (39c6804b9 2023-04-19)
binary: rustc
commit-hash: 39c6804b92aa202369e402525cee329556bc1db0
commit-date: 2023-04-19
host: x86_64-unknown-linux-gnu
release: 1.71.0-nightly
LLVM version: 16.0.2

Right, the rmeta file has the wrong name. Could you open an issue for this?

Posted Content of *.d file doesn’t match real outputs · Issue #110589 · rust-lang/rust · GitHub.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.