diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2025-09-19 22:31:49 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-19 22:31:49 +1000 |
| commit | ac9b55e439fe2277f1624158158c5e09c2f688cd (patch) | |
| tree | 4b510f4c624faf64168af3bc94a0956730814405 /compiler/rustc_codegen_ssa | |
| parent | 2f4dfc753fd86c672aa4145940db075a8a149f17 (diff) | |
| parent | 6e74905be29b861bcfd2780a8c81495deffec6c3 (diff) | |
| download | rust-ac9b55e439fe2277f1624158158c5e09c2f688cd.tar.gz rust-ac9b55e439fe2277f1624158158c5e09c2f688cd.zip | |
Rollup merge of #146229 - Hayden602:issue-142796-fix, r=ZuseZ4
Automatically switch to lto-fat when flag RUSTFLAGS="- Zautodiff=Enable" is set …t" is automatically set. closes: [#142796](https://github.com/rust-lang/rust/issues/142796)
Diffstat (limited to 'compiler/rustc_codegen_ssa')
| -rw-r--r-- | compiler/rustc_codegen_ssa/messages.ftl | 2 | ||||
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/errors.rs | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_codegen_ssa/messages.ftl b/compiler/rustc_codegen_ssa/messages.ftl index 1dd65d38a2b..91c3806df4c 100644 --- a/compiler/rustc_codegen_ssa/messages.ftl +++ b/compiler/rustc_codegen_ssa/messages.ftl @@ -8,8 +8,6 @@ codegen_ssa_aix_strip_not_used = using host's `strip` binary to cross-compile to codegen_ssa_archive_build_failure = failed to build archive at `{$path}`: {$error} -codegen_ssa_autodiff_without_lto = using the autodiff feature requires using fat-lto - codegen_ssa_bare_instruction_set = `#[instruction_set]` requires an argument codegen_ssa_binary_output_to_tty = option `-o` or `--emit` is used to write binary output type `{$shorthand}` to stdout, but stdout is a tty diff --git a/compiler/rustc_codegen_ssa/src/errors.rs b/compiler/rustc_codegen_ssa/src/errors.rs index fb5a8205140..d5c30c5c7a6 100644 --- a/compiler/rustc_codegen_ssa/src/errors.rs +++ b/compiler/rustc_codegen_ssa/src/errors.rs @@ -38,10 +38,6 @@ pub(crate) struct CguNotRecorded<'a> { } #[derive(Diagnostic)] -#[diag(codegen_ssa_autodiff_without_lto)] -pub struct AutodiffWithoutLto; - -#[derive(Diagnostic)] #[diag(codegen_ssa_unknown_reuse_kind)] pub(crate) struct UnknownReuseKind { #[primary_span] |
