Skip to content

RFC: Add an attribute for raising the alignment of various items #3806

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 40 commits into
base: master
Choose a base branch
from
Open
Changes from 25 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
3a4f5ac
Add `align_attr` RFC
Jules-Bertholet Jun 12, 2024
4badbc9
Add more mixing packed and aligned to future possibilities
Jules-Bertholet May 2, 2025
2b647a8
Avoid making commitments for interaction with `extern static`
Jules-Bertholet May 5, 2025
13cc4f2
Expand comparison with C and C++
Jules-Bertholet May 8, 2025
bbe09ee
Minor clarifications
Jules-Bertholet May 9, 2025
81748b6
Delete double spaces
Jules-Bertholet May 9, 2025
51b8069
Thumb weirdness, expand discussion of `repr`
Jules-Bertholet May 9, 2025
855a766
Rephrase
Jules-Bertholet May 9, 2025
1c7a402
Typo
Jules-Bertholet May 9, 2025
dee1e70
Address `async` and closures
Jules-Bertholet May 16, 2025
4701919
Elaborate on function parameters prohibition
Jules-Bertholet May 16, 2025
59b1230
Fix typo
Jules-Bertholet May 17, 2025
16f3bee
Justify `async fn` behavior
Jules-Bertholet May 17, 2025
5229770
Elaborate on `ref`/`ref mut`
Jules-Bertholet May 17, 2025
96350ee
Fix tpo
Jules-Bertholet May 18, 2025
0c21fb3
Fix example
Jules-Bertholet May 18, 2025
959a94c
Cache line clarifications
Jules-Bertholet May 18, 2025
75f615a
Minor rephrase
Jules-Bertholet May 18, 2025
8b1fa67
Fix typos
Jules-Bertholet May 19, 2025
95f3972
Link to WGSL alignment rules
Jules-Bertholet May 19, 2025
fefe945
Function parameter prohibition is semantic
Jules-Bertholet May 19, 2025
a478717
Justify not allowing attribute on `_`
Jules-Bertholet May 19, 2025
32b2a93
More cache clarifications
Jules-Bertholet May 19, 2025
f140b23
Rename a heading
Jules-Bertholet May 19, 2025
60f23d2
Fix typo
Jules-Bertholet May 28, 2025
3351aa9
Fix typo
Jules-Bertholet Jun 14, 2025
e10fe79
Make sentence less ambiguous
Jules-Bertholet Jun 14, 2025
441e05b
Minor rephrase
Jules-Bertholet Jun 20, 2025
8693706
Address target-specific limitations
Jules-Bertholet Jun 20, 2025
42fb9e2
`align` on trait declarations, semver
Jules-Bertholet Jun 20, 2025
9f5fb37
Overaligned fn ptrs future possibility
Jules-Bertholet Jun 20, 2025
553b5ef
Fix typo
Jules-Bertholet Jun 20, 2025
73973de
Fix typo
Jules-Bertholet Jun 20, 2025
4688f11
Fix typo
Jules-Bertholet Jun 20, 2025
9efcb25
Don’t require repeating `align` in impls
Jules-Bertholet Jun 20, 2025
7c155c8
Clarify "function's code" as "entry symbol"
Jules-Bertholet Jun 20, 2025
45a9d3d
Link to definition of "inert"
Jules-Bertholet Jun 25, 2025
893fd65
Clarify rustdoc
Jules-Bertholet Jun 25, 2025
5827b39
Rationale for 1-ZST `#[align(…)]` function item types
Jules-Bertholet Jun 25, 2025
5da3dcb
Function pointer tagging future possibility
Jules-Bertholet Jun 26, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading