about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-06-23 06:07:20 +0200
committerGitHub <noreply@github.com>2025-06-23 06:07:20 +0200
commit57abad8cc534134d7130de7dee4fb15f56d506b8 (patch)
treef33fded9e85946fda4953f0f09920aab8eceaf37 /compiler/rustc_codegen_gcc
parent2357fb05bbb3d55dcfa81f3b5b96e2844ccaa02e (diff)
parenta123a36a1f52fa8ac85bfa1ba4cef7062058db7b (diff)
downloadrust-57abad8cc534134d7130de7dee4fb15f56d506b8.tar.gz
rust-57abad8cc534134d7130de7dee4fb15f56d506b8.zip
Rollup merge of #142854 - folkertdev:centralize-min-function-alignment, r=workingjubilee
centralize `-Zmin-function-alignment` logic

tracking issue: https://github.com/rust-lang/rust/issues/82232
discussed in: https://github.com/rust-lang/rust/pull/142824#discussion_r2160056244

Apply the `-Zmin-function-alignment` value to the alignment field of the function attributes when those are created, so that individual backends don't need to consider it.

The one exception right now is cranelift, because it can't yet set the alignment for individual functions, but it can (and does) set the global minimum function alignment.

cc ``@RalfJung`` I think this is an improvement regardless, is there anything else that should be done for miri?
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions