rust/compiler/rustc_codegen_ssa/src
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
..
back Rollup merge of #142641 - bjorn3:proc_macro_symbols_o, r=jieyouxu 2025-06-29 06:59:28 +02:00
debuginfo Flatten ifs in rustc_codegen_ssa 2025-03-17 18:56:52 +00:00
mir Auto merge of #143233 - dianqk:rollup-lcx3278, r=dianqk 2025-06-30 14:28:58 +00:00
traits Remove dead instructions in terminate blocks 2025-06-22 11:38:47 -04:00
assert_module_sources.rs Move methods from Map to TyCtxt, part 4. 2025-03-12 08:55:37 +11:00
base.rs Add all rustc_std_internal_symbol to symbols.o 2025-06-24 19:44:33 +00:00
codegen_attrs.rs Rollup merge of #143156 - folkertdev:fn-align-inherit-from-trait, r=workingjubilee 2025-07-01 04:25:35 +02:00
common.rs Replace some Option<Span> with Span and use DUMMY_SP instead of None 2025-06-05 14:14:59 +00:00
errors.rs Port #[used] to new attribute parsing infrastructure 2025-06-27 08:58:26 +02:00
lib.rs [Arm64EC] Only decorate functions with # 2025-06-23 12:38:35 -07:00
meth.rs Rename unpack to kind 2025-05-27 11:14:45 +00:00
mono_item.rs Make predefine methods take &mut self 2025-05-28 20:55:00 +00:00
size_of_val.rs Replace some Option<Span> with Span and use DUMMY_SP instead of None 2025-06-05 14:14:59 +00:00
target_features.rs various minor target feature cleanups 2025-06-19 10:50:03 +09:00