mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-27 11:05:06 +00:00
use `#[align]` attribute for `fn_align` Tracking issue: https://github.com/rust-lang/rust/issues/82232 https://github.com/rust-lang/rfcs/pull/3806 decides to add the `#[align]` attribute for alignment of various items. Right now it's used for functions with `fn_align`, in the future it will get more uses (statics, struct fields, etc.) (the RFC finishes FCP today) r? `@ghost`
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.