Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
GitHub Copilot
Write better code with AI
GitHub Spark
New
Build and deploy intelligent apps
GitHub Models
New
Manage and compare prompts
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
Documentation
GitHub Skills
Blog
Integrations
GitHub Marketplace
MCP Registry
View all features
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
Enterprise platform
AI-powered developer platform
Available add-ons
GitHub Advanced Security
Enterprise-grade security features
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
state:open label:A-align
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
rust-lang
/
rust
Public
Notifications
You must be signed in to change notification settings
Fork
13.9k
Star
107k
Code
Issues
5k+
Pull requests
884
Actions
Projects
9
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Draft release notes for 1.91
#147010 ·
Mark-Simulacrum
opened
on Sep 25, 2025
19
Issues
Search Issues
state
:
open
label
:
A-align
state:open label:A-align
Search
Labels
Milestones
New issue
Search results
Open
Closed
Function alignment does not work on wasm
A-align
Area: alignment control (`repr(align(N))` and so on)
Area: alignment control (`repr(align(N))` and so on)
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-bug
Category: This is a bug.
Category: This is a bug.
F-fn_align
`#![feature(fn_align)]`
`#![feature(fn_align)]`
O-wasm
Target: WASM (WebAssembly), http://webassembly.org/
Target: WASM (WebAssembly), http://webassembly.org/
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
T-lang
Relevant to the language team
Relevant to the language team
Status: Open.
#143368
In rust-lang/rust;
·
RalfJung
opened
on Jul 3, 2025
error out when <code>repr(align)</code> exceeds COFF limit
A-align
Area: alignment control (`repr(align(N))` and so on)
Area: alignment control (`repr(align(N))` and so on)
A-attributes
Area: Attributes (`#[…]`, `#![…]`)
Area: Attributes (`#[…]`, `#![…]`)
I-lang-nominated
Nominated for discussion during a lang team meeting.
Nominated for discussion during a lang team meeting.
P-lang-drag-2
Lang team prioritization drag level 2.https://rust-lang.zulipchat.com/#narrow/channel/410516-t-lang.
Lang team prioritization drag level 2.https://rust-lang.zulipchat.com/#narrow/channel/410516-t-lang.
S-waiting-on-t-lang
Status: Awaiting decision from T-lang
Status: Awaiting decision from T-lang
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
T-lang
Relevant to the language team
Relevant to the language team
Status: Open (in progress).
rust-lang/rust
number 142638
#142638
In rust-lang/rust;
·
nthery
opened
on Jun 17, 2025
rustdoc: Feature request: Also render the alignment under <code>--show-type-layout</code>
A-align
Area: alignment control (`repr(align(N))` and so on)
Area: alignment control (`repr(align(N))` and so on)
A-rustdoc-type-layout
Area: `rustdoc --show-type-layout` (nightly-only)
Area: `rustdoc --show-type-layout` (nightly-only)
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
Category: A feature request, i.e: not implemented / a PR.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Status: Open.
#137648
In rust-lang/rust;
·
solarretrace
opened
on Feb 26, 2025
16k-aligned statics crash rustc on Windows
A-align
Area: alignment control (`repr(align(N))` and so on)
Area: alignment control (`repr(align(N))` and so on)
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
A-repr
Area: the `#[repr(stuff)]` attribute
Area: the `#[repr(stuff)]` attribute
C-bug
Category: This is a bug.
Category: This is a bug.
E-needs-investigation
Call for partcipation: This issues needs some investigation to determine current status
Call for partcipation: This issues needs some investigation to determine current status
I-crash
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
O-windows
Operating system: Windows
Operating system: Windows
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
Status: Open.
#135752
In rust-lang/rust;
·
purplesyringa
opened
on Jan 20, 2025
Suggestion: debug-assert that the allocator returns aligned memory
A-align
Area: alignment control (`repr(align(N))` and so on)
Area: alignment control (`repr(align(N))` and so on)
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
Category: A feature request, i.e: not implemented / a PR.
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
Relevant to the library team, which will review and decide on the PR/issue.
Status: Open.
#131189
In rust-lang/rust;
·
emilk
opened
on Oct 3, 2024
Internal SIMD layout specification is not flexible enough for SPIR-V
A-align
Area: alignment control (`repr(align(N))` and so on)
Area: alignment control (`repr(align(N))` and so on)
A-repr
Area: the `#[repr(stuff)]` attribute
Area: the `#[repr(stuff)]` attribute
A-SIMD
Area: SIMD (Single Instruction Multiple Data)
Area: SIMD (Single Instruction Multiple Data)
PG-portable-simd
Project group: Portable SIMD (https://github.com/rust-lang/project-portable-simd)
Project group: Portable SIMD (https://github.com/rust-lang/project-portable-simd)
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
Status: Open.
#130405
In rust-lang/rust;
·
fu5ha
opened
on Sep 15, 2024
When a type is <code>#[repr(simd)]</code>, <code>#[repr(align(N))]</code> annotations are ignored.
A-align
Area: alignment control (`repr(align(N))` and so on)
Area: alignment control (`repr(align(N))` and so on)
A-repr
Area: the `#[repr(stuff)]` attribute
Area: the `#[repr(stuff)]` attribute
A-SIMD
Area: SIMD (Single Instruction Multiple Data)
Area: SIMD (Single Instruction Multiple Data)
C-bug
Category: This is a bug.
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
Status: Open.
Bug
#130402
In rust-lang/rust;
·
fu5ha
opened
on Sep 15, 2024
#[repr(align(N))] fields not allowed in #[repr(packed(M>=N))] structs
A-align
Area: alignment control (`repr(align(N))` and so on)
Area: alignment control (`repr(align(N))` and so on)
A-layout
Area: Memory layout of types
Area: Memory layout of types
A-repr
Area: the `#[repr(stuff)]` attribute
Area: the `#[repr(stuff)]` attribute
A-repr-packed
Area: the naughtiest repr
Area: the naughtiest repr
C-bug
Category: This is a bug.
Category: This is a bug.
O-windows-msvc
Toolchain: MSVC, Operating system: Windows
Toolchain: MSVC, Operating system: Windows
Status: Open.
#100743
In rust-lang/rust;
·
asahilina
opened
on Aug 19, 2022
Tracking Issue for <code>#[align(...)]</code> on function items (fn_align)
A-align
Area: alignment control (`repr(align(N))` and so on)
Area: alignment control (`repr(align(N))` and so on)
A-rust-for-linux
Relevant for the Rust-for-Linux project
Relevant for the Rust-for-Linux project
C-tracking-issue
Category: An issue tracking the progress of sth. like the implementation of an RFC
Category: An issue tracking the progress of sth. like the implementation of an RFC
F-fn_align
`#![feature(fn_align)]`
`#![feature(fn_align)]`
S-tracking-needs-summary
Status: It's hard to tell what's been done and what hasn't! Someone should do some investigation.
Status: It's hard to tell what's been done and what hasn't! Someone should do some investigation.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
T-lang
Relevant to the language team
Relevant to the language team
Status: Open.
#82232
In rust-lang/rust;
·
repnop
opened
on Feb 17, 2021
repr(C, align) is unsound on enums
A-align
Area: alignment control (`repr(align(N))` and so on)
Area: alignment control (`repr(align(N))` and so on)
A-enum
Area: Enums (discriminated unions, or more generally ADTs (algebraic data types))
Area: Enums (discriminated unions, or more generally ADTs (algebraic data types))
A-repr
Area: the `#[repr(stuff)]` attribute
Area: the `#[repr(stuff)]` attribute
C-bug
Category: This is a bug.
Category: This is a bug.
T-lang
Relevant to the language team
Relevant to the language team
Status: Open.
#82101
In rust-lang/rust;
·
mahkoh
opened
on Feb 14, 2021
Aligned-in-packed restriction can be circumvented with generic parameters
A-align
Area: alignment control (`repr(align(N))` and so on)
Area: alignment control (`repr(align(N))` and so on)
A-layout
Area: Memory layout of types
Area: Memory layout of types
A-repr-packed
Area: the naughtiest repr
Area: the naughtiest repr
C-bug
Category: This is a bug.
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
T-lang
Relevant to the language team
Relevant to the language team
Status: Open.
#80926
In rust-lang/rust;
·
mahkoh
opened
on Jan 11, 2021
Statics aligned to greater than a page cause linker error
A-align
Area: alignment control (`repr(align(N))` and so on)
Area: alignment control (`repr(align(N))` and so on)
A-linkage
Area: linking into static, shared libraries and binaries
Area: linking into static, shared libraries and binaries
C-bug
Category: This is a bug.
Category: This is a bug.
O-windows
Operating system: Windows
Operating system: Windows
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
Status: Open.
#70144
In rust-lang/rust;
·
retep998
opened
on Mar 19, 2020
You can’t perform that action at this time.