Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Spark
Build and deploy intelligent apps
GitHub Models
Manage and compare prompts
MCP Registry
New
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
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
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
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
14.1k
Star
108k
Code
Issues
5k+
Pull requests
911
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.92
#149161 ·
cuviper
opened
on Nov 20, 2025
4
Issues
Search Issues
state
:
open
label
:
A-align
state:open label:A-align
Search
Labels
Milestones
New issue
Search results
Open
Closed
<code>repr(align(N))</code> not respected for uninhabited enum
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-layout
Area: Memory layout of types
Area: Memory layout of 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-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.
#149256
In rust-lang/rust;
·
theemathas
opened
on Nov 24, 2025
Tracking issue for release notes of #142638: 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 (`#[…]`, `#![…]`)
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
This issue may need triage. Remove it if it has been sufficiently triaged.
relnotes
Marks issues that should be documented in the release notes of the next release.
Marks issues that should be documented in the release notes of the next release.
relnotes-tracking-issue
Marks issues tracking what text to put in release notes.
Marks issues tracking what text to put in release notes.
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.
#148979
In rust-lang/rust;
·
rustbot
opened
on Nov 15, 2025
<code>vec::IntoIter::{nth_back,advance_back_by}</code> creates unaligned reference for ZST with alignment greater than 1
A-align
Area: alignment control (`repr(align(N))` and so on)
Area: alignment control (`repr(align(N))` and so on)
A-iterators
Area: Iterators
Area: Iterators
A-ZST
Area: Zero-sized types (ZSTs).
Area: Zero-sized types (ZSTs).
C-bug
Category: This is a bug.
Category: This is a bug.
I-unsound
Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness
Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness
P-high
High priority
High priority
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.
#148682
In rust-lang/rust;
·
theemathas
opened
on Nov 8, 2025
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 (`#[…]`, `#![…]`)
disposition-merge
This issue / PR is in PFCP or FCP with a disposition to merge it.
This issue / PR is in PFCP or FCP with a disposition to merge it.
finished-final-comment-period
The final comment period is finished for this PR / Issue.
The final comment period is finished for this PR / Issue.
S-waiting-on-author
Status: This is awaiting some action (such as code changes or more information) from the author.
Status: This is awaiting some action (such as code changes or more information) from the author.
S-waiting-on-documentation
Status: Waiting on approved PRs to documentation before merging
Status: Waiting on approved PRs to documentation before merging
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
to-announce
Announce this issue on triage meeting
Announce this issue on triage meeting
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
You can’t perform that action at this time.