Skip to content

Issues: rust-lang/rust

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

Author
Filter by author
Loading
Label
Filter by label
Loading
Use alt + click/return to exclude labels
or + click/return for logical OR
Projects
Filter by project
Loading
Milestones
Filter by milestone
Loading
Assignee
Filter by who’s assigned
Sort

Issues list

rustdoc: Feature request: Also render the alignment under --show-type-layout A-align Area: alignment control (`repr(align(N))` and so on) A-rustdoc-type-layout Area: `rustdoc --show-type-layout` (nightly-only) C-feature-request 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.
#137648 opened Feb 26, 2025 by solarretrace
16k-aligned statics crash rustc on Windows A-align 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. A-repr Area: the `#[repr(stuff)]` attribute C-bug Category: This is a bug. E-needs-investigation 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. O-windows Operating system: Windows T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#135752 opened Jan 20, 2025 by purplesyringa
Suggestion: debug-assert that the allocator returns aligned memory A-align Area: alignment control (`repr(align(N))` and so on) C-feature-request 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.
#131189 opened Oct 3, 2024 by emilk
Internal SIMD layout specification is not flexible enough for SPIR-V A-align Area: alignment control (`repr(align(N))` and so on) A-repr Area: the `#[repr(stuff)]` attribute A-SIMD Area: SIMD (Single Instruction Multiple Data) PG-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.
#130405 opened Sep 15, 2024 by fu5ha
When a type is #[repr(simd)], #[repr(align(N))] annotations are ignored. A-align Area: alignment control (`repr(align(N))` and so on) A-repr Area: the `#[repr(stuff)]` attribute A-SIMD Area: SIMD (Single Instruction Multiple Data) C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#130402 opened Sep 15, 2024 by fu5ha
#[repr(align(N))] fields not allowed in #[repr(packed(M>=N))] structs A-align Area: alignment control (`repr(align(N))` and so on) A-layout Area: Memory layout of types A-repr Area: the `#[repr(stuff)]` attribute A-repr-packed Area: the naughtiest repr C-bug Category: This is a bug. O-windows-msvc Toolchain: MSVC, Operating system: Windows
#100743 opened Aug 19, 2022 by asahilina
Tracking Issue for #[repr(align(...))] on function items (fn_align) A-align Area: alignment control (`repr(align(N))` and so on) A-rust-for-linux Relevant for the Rust-for-Linux project C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC F-fn_align `#![feature(fn_align)]` T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-lang Relevant to the language team, which will review and decide on the PR/issue.
#82232 opened Feb 17, 2021 by repnop
1 of 3 tasks
repr(C, align) is unsound on enums A-align Area: alignment control (`repr(align(N))` and so on) A-enum Area: Enums (discriminated unions, or more generally ADTs (algebraic data types)) A-repr Area: the `#[repr(stuff)]` attribute C-bug Category: This is a bug. T-lang Relevant to the language team, which will review and decide on the PR/issue.
#82101 opened Feb 14, 2021 by mahkoh
Aligned-in-packed restriction can be circumvented with generic parameters A-align Area: alignment control (`repr(align(N))` and so on) A-layout Area: Memory layout of types A-repr-packed Area: the naughtiest repr C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-lang Relevant to the language team, which will review and decide on the PR/issue.
#80926 opened Jan 11, 2021 by mahkoh
Statics aligned to greater than a page cause linker error A-align Area: alignment control (`repr(align(N))` and so on) A-linkage Area: linking into static, shared libraries and binaries C-bug Category: This is a bug. O-windows Operating system: Windows T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#70144 opened Mar 19, 2020 by retep998
Statics don't support alignments larger than the page size A-align Area: alignment control (`repr(align(N))` and so on) A-target-specs Area: Compile-target specifications C-bug Category: This is a bug. E-needs-investigation Call for partcipation: This issues needs some investigation to determine current status I-unsound Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness O-linux Operating system: Linux O-windows-gnu Toolchain: GNU, Operating system: Windows O-windows-msvc Toolchain: MSVC, Operating system: Windows P-high High priority T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#70022 opened Mar 15, 2020 by Amanieu
#[repr(align(4))] struct has 8 byte alignment A-align Area: alignment control (`repr(align(N))` and so on) A-diagnostics Area: Messages for errors, warnings, and lints A-repr Area: the `#[repr(stuff)]` attribute C-feature-request Category: A feature request, i.e: not implemented / a PR. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#48159 opened Feb 12, 2018 by gnzlbg
ProTip! Adding no:label will show everything without a label.