Linking error with --emit=obj,metadata
#67294
Labels
A-linkage
Area: linking into static, shared libraries and binaries
A-metadata
Area: Crate metadata
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
rustc --emit=obj,metadata helloworld.rs
generates a linking error as below:Both
rustc --emit=obj helloworld.rs
andrustc --emit=metadata helloworld.rs
work.To reproduce, the code of
helloworld.rs
is:The text was updated successfully, but these errors were encountered: