about summary refs log tree commit diff
path: root/tests/codegen/min-function-alignment.rs
AgeCommit message (Collapse)AuthorLines
2025-06-23fix `-Zmin-function-alignment` without attributesFolkert de Vries-4/+6
the minimum function alignment was skipped on functions without attributes. That is because in our testing we generally apply `#[no_mangle]` to functions that are tested. I've added a test now that deliberately has no attributes
2025-06-18add `#[align]` attributeFolkert de Vries-3/+3
Right now it's used for functions with `fn_align`, in the future it will get more uses (statics, struct fields, etc.)
2025-01-10add `-Zmin-function-alignment`Folkert de Vries-0/+43