diff options
| author | Jubilee <workingjubilee@gmail.com> | 2025-06-08 17:17:56 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-08 17:17:56 -0700 |
| commit | 48667ddd5a659b3e258436e7cd0ed8c2a5ada4ad (patch) | |
| tree | dcfa85ad0f5837ec97d2aab40d3bf30be1749c0f /compiler/rustc_codegen_gcc/src/errors.rs | |
| parent | 277f57e0a0ec2980a7c1b3edb31d63e9e12fee99 (diff) | |
| parent | a50bd7ca24aa752fee840e83f7090bbd23f3a158 (diff) | |
| download | rust-48667ddd5a659b3e258436e7cd0ed8c2a5ada4ad.tar.gz rust-48667ddd5a659b3e258436e7cd0ed8c2a5ada4ad.zip | |
Rollup merge of #142179 - folkertdev:min-global-align-parse, r=workingjubilee
store `target.min_global_align` as an `Align` Parse the alignment properly when the target is defined/parsed, and error out on invalid alignment values. That means this work doesn't need to happen for every global in each backend.
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/errors.rs')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/errors.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_codegen_gcc/src/errors.rs b/compiler/rustc_codegen_gcc/src/errors.rs index 1b59b9ac169..ccd9abe3804 100644 --- a/compiler/rustc_codegen_gcc/src/errors.rs +++ b/compiler/rustc_codegen_gcc/src/errors.rs @@ -48,12 +48,6 @@ pub(crate) struct UnwindingInlineAsm { } #[derive(Diagnostic)] -#[diag(codegen_gcc_invalid_minimum_alignment)] -pub(crate) struct InvalidMinimumAlignment { - pub err: String, -} - -#[derive(Diagnostic)] #[diag(codegen_gcc_copy_bitcode)] pub(crate) struct CopyBitcode { pub err: std::io::Error, |
