rustc --emit=dep-info -Zbinary-dep-depinfo -C prefer-dynamic=yes misses .so input dep #90106
Labels
-Cprefer-dynamic
Codegen option: Prefer dynamic linking to static linking.
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
With a command like:
which uses the rust std library:
I expected to see both the .rlib and .so in the generated depfile, however, the .so is missing.
Meta
rustc --version --verbose
:Why this is important: We rely on the depfile to know what inputs to upload for remote building. When the .so file is missing we find that
rustc
still silently and happily builds the crate, but with a different (static?) linking result, which means local output != remote output (but we want perfect reproducibility).The text was updated successfully, but these errors were encountered: