rm -f x.d && echo 'fn main() {}' |
RUSTC_BOOTSTRAP=1 rustup run 1.68.2 rustc - --emit=dep-info=x.d -Zunpretty=expanded >/dev/null &&
cat x.d
x.d:
rm -f x.d && echo 'fn main() {}' |
RUSTC_BOOTSTRAP=1 rustup run 1.69.0 rustc - --emit=dep-info=x.d -Zunpretty=expanded >/dev/null &&
cat x.d
cat: x.d: No such file or directory
Related: #93201 (i.e. having expanded as an actual --emit would be nice).
We use -Zunpretty=expanded in the kernel to provide the expanded output in .rsi outputs/targets. The dependency information is not critical, but the change made our Make target fail (so we need a change on the kernel side), and it would be nice nevertheless to have the dependency information (assuming it is accurate), e.g. we also use it for similar outputs like .ll and .s.
Related: #93201 (i.e. having
expandedas an actual--emitwould be nice).We use
-Zunpretty=expandedin the kernel to provide the expanded output in.rsioutputs/targets. The dependency information is not critical, but the change made our Make target fail (so we need a change on the kernel side), and it would be nice nevertheless to have the dependency information (assuming it is accurate), e.g. we also use it for similar outputs like.lland.s.