All of Debian's patches for rustc: bugfixes, tweaks for the Debian environment, and even some reproducibility improvements.
https://sources.debian.org/patches/rustc/1.40.0+dfsg1-5/
Many have a separate comment, which is really helpful.
Wilfred Hughes

