mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-02 12:28:00 +00:00
Error if an autodiff user does not set lto=fat Based on your feedback, I started to provide a nice error message for a lack of `lto=fat`, instead of us forcing it. In a next step, we should replace `RUSTFLAGS="-Zautodiff=Enable"` with another Cargo.toml setting, as discussed here: https://github.com/rust-lang/rust/issues/147487#issuecomment-3446558644 As another improvement, we should also figure out why rlib builds do not properly obey the fat=lto setting. ```````@bjorn3```````