rust/compiler/rustc_codegen_ssa
Matthias Krüger 96fd669328
Rollup merge of #143156 - folkertdev:fn-align-inherit-from-trait, r=workingjubilee
inherit `#[align]` from trait method prototypes

````@workingjubilee```` this seems straightforward enough. Now that we're planning to make `-Cmin-function-alignment` a target modifier, I don't think there are any cross-crate complications here?

````@Jules-Bertholet```` is this the behavior you had in mind? In particular the inheritance of the attribute of a default impl is maybe a bit unintuitive at first? (but I think it's ok if that behavior is explicitly documented).

r? ghost
2025-07-01 04:25:35 +02:00
..
src Rollup merge of #143156 - folkertdev:fn-align-inherit-from-trait, r=workingjubilee 2025-07-01 04:25:35 +02:00
Cargo.toml CodeGen: rework Aggregate implemention for rvalue_creates_operand cases 2025-06-17 18:59:22 -07:00
messages.ftl Port #[used] to new attribute parsing infrastructure 2025-06-27 08:58:26 +02:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00

Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.