rust/compiler/rustc_session/src
Stuart Cook e34ef247cc
Rollup merge of #148855 - ZuseZ4:autodiff-lto-error, r=bjorn3
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```````
2025-11-17 16:41:02 +11:00
..
config rustc_target: introduce Os 2025-11-11 18:55:40 -05:00
code_stats.rs Document why CodeStats::type_sizes is public 2025-04-21 17:36:36 +02:00
config.rs Add -Zannotate-moves for profiler visibility of move/copy operations 2025-11-06 15:39:45 -08:00
cstore.rs Move NativeLibKind from rustc_session to rustc_hir 2025-08-27 20:24:59 +02:00
errors.rs Better warning message for crate type unsupported by codegen backend 2025-11-02 12:33:38 +00:00
filesearch.rs Fix new function_casts_as_integer lint errors in core, std, panic_unwind and compiler crates 2025-11-10 16:38:28 +01:00
lib.rs move -Ctarget-feature handling into shared code 2025-06-19 09:44:01 +09:00
options.rs Auto merge of #147935 - luca3s:add-rtsan, r=petrochenkov 2025-11-08 12:24:15 +00:00
output.rs Better warning message for crate type unsupported by codegen backend 2025-11-02 12:33:38 +00:00
parse.rs Refactor lint buffering to avoid requiring a giant enum 2025-08-22 01:59:56 -07:00
search_paths.rs Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
session.rs Rollup merge of #148855 - ZuseZ4:autodiff-lto-error, r=bjorn3 2025-11-17 16:41:02 +11:00
utils.rs Move NativeLibKind from rustc_session to rustc_hir 2025-08-27 20:24:59 +02:00