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

Tracking issue for release notes of #67521: Tracking issue for const alloc::Layout A-allocators Area: Custom and system allocators A-const-eval Area: Constant evaluation, covers all const contexts (static, const fn, ...) needs-triage 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. relnotes-tracking-issue Marks issues tracking what text to put in release notes. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
#134725 opened Dec 24, 2024 by rustbot
3 tasks
1.85.0
Box sometimes forgets to drop its allocator when the Box is conditionally initialized. A-allocators Area: Custom and system allocators A-box Area: Our favorite opsem complication A-MIR Area: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.html C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#131082 opened Oct 1, 2024 by theemathas
Tracking Issue for __rust_no_alloc_shim_is_unstable A-allocators Area: Custom and system allocators A-linkage Area: linking into static, shared libraries and binaries C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC T-lang Relevant to the language team, which will review and decide on the PR/issue.
#123015 opened Mar 24, 2024 by Mark-Simulacrum
1 of 3 tasks
RawVec sets capacity incorrectly, causing potentially many bugs A-allocators Area: Custom and system allocators A-collections Area: `std::collection` A-slice Area: `[T]` T-libs Relevant to the library team, which will review and decide on the PR/issue.
#116580 opened Oct 9, 2023 by jmaargh
Using thread_local! with Drop from GlobalAlloc::alloc causes crashes A-allocators Area: Custom and system allocators C-bug Category: This is a bug. P-high High priority T-libs Relevant to the library team, which will review and decide on the PR/issue.
#116390 opened Oct 3, 2023 by nvzqz
Crash during thread teardown using TLS in global allocator on macOS A-allocators Area: Custom and system allocators A-thread Area: `std::thread` A-thread-locals Area: Thread local storage (TLS) C-bug Category: This is a bug. O-macos Operating system: macOS T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#115149 opened Aug 23, 2023 by jrose-signal
Regression in global_allocator when using prefer-dynamic on 1.71.0 and above -Cprefer-dynamic Codegen option: Prefer dynamic linking to static linking. A-allocators Area: Custom and system allocators A-linkage Area: linking into static, shared libraries and binaries C-bug Category: This is a bug. P-medium Medium priority regression-from-stable-to-stable Performance or correctness regression from one stable version to another. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#114518 opened Aug 5, 2023 by alexkornitzer
Box::leak will not call allocator destruction function A-allocators Area: Custom and system allocators A-box Area: Our favorite opsem complication C-bug Category: This is a bug. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
#106207 opened Dec 28, 2022 by yuhao-su
Memory leaks in BTreeMap with allocator_api enabled A-allocators Area: Custom and system allocators C-bug Category: This is a bug. T-libs Relevant to the library team, which will review and decide on the PR/issue.
#106203 opened Dec 28, 2022 by fuyufjh
Unclear unwind safety for std::alloc::Allocator::{grow,shrink} A-allocators Area: Custom and system allocators A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools
#104224 opened Nov 10, 2022 by kpreid
global_allocator does not work with -C prefer-dynamic -Cprefer-dynamic Codegen option: Prefer dynamic linking to static linking. A-allocators Area: Custom and system allocators A-diagnostics Area: Messages for errors, warnings, and lints A-linkage Area: linking into static, shared libraries and binaries C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#100781 opened Aug 19, 2022 by nicbn
'unsafe impl<A> Allocator for &A where A: Allocator' is problematic A-allocators Area: Custom and system allocators I-slow Issue: Problems and improvements with respect to performance of generated code. T-libs Relevant to the library team, which will review and decide on the PR/issue.
#98232 opened Jun 18, 2022 by RalfJung
Allocator::grow does not verify all safety conditions of GlobalAlloc::realloc A-allocators Area: Custom and system allocators C-bug Category: This is a bug. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
#95746 opened Apr 7, 2022 by djkoloski
Boxes with custom allocators break several underlying assumptions in Miri (and MIR more broadly) A-allocators Area: Custom and system allocators A-box Area: Our favorite opsem complication A-MIR Area: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.html C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#95453 opened Mar 30, 2022 by autumnontape
Update safety requirements of Vec::from_raw_parts? A-allocators Area: Custom and system allocators A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools C-bug Category: This is a bug. C-discussion Category: Discussion or questions that doesn't represent real issues. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. T-opsem Relevant to the opsem team
#94950 opened Mar 15, 2022 by EFanZh
const_allocate intrinsic: what should it do at runtime? A-allocators Area: Custom and system allocators A-const-eval Area: Constant evaluation, covers all const contexts (static, const fn, ...) C-discussion Category: Discussion or questions that doesn't represent real issues. WG-const-eval Working group: Const evaluation
#93935 opened Feb 12, 2022 by RalfJung
#[global_allocator] and #[thread_local] should not be usable together on the same static A-allocators Area: Custom and system allocators C-bug Category: This is a bug. F-thread_local `#![feature(thread_local)]` T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
#85517 opened May 20, 2021 by repnop
rustc segfaults with mimalloc A-allocators Area: Custom and system allocators A-linkage Area: linking into static, shared libraries and binaries C-bug Category: This is a bug. I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#85076 opened May 8, 2021 by thomasfsteeples
Missing documentation/feature - changing global_allocator in cargo test A-allocators Area: Custom and system allocators A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools A-libtest Area: `#[test]` / the `test` library C-enhancement Category: An issue proposing an enhancement or a PR with one. T-libs Relevant to the library team, which will review and decide on the PR/issue.
#81953 opened Feb 10, 2021 by Firstyear
std::alloc::Global.shrink returns an error if realloc returns null A-allocators Area: Custom and system allocators C-bug Category: This is a bug. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
#79603 opened Dec 1, 2020 by mahkoh
Tracking Issue for const_heap A-allocators Area: Custom and system allocators A-const-eval Area: Constant evaluation, covers all const contexts (static, const fn, ...) C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC F-const_heap `#[feature(const_heap)]` Libs-Tracked Libs issues that are tracked on the team's project board. needs-rfc This change is large or controversial enough that it should have an RFC accepted before doing it. S-tracking-impl-incomplete Status: The implementation is incomplete. T-lang Relevant to the language team, which will review and decide on the PR/issue. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
#79597 opened Dec 1, 2020 by oli-obk
3 tasks
Stability annotation on defaulted generics fails A-allocators Area: Custom and system allocators A-stability Area: `#[stable]`, `#[unstable]` etc. C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#79499 opened Nov 28, 2020 by TimDiekmann
#[rustc_allocator] documentation disagrees with implementation A-allocators Area: Custom and system allocators A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#79488 opened Nov 28, 2020 by gparker42
Performance: Layout::align() can assume, that the alignment is a power of two A-allocators Area: Custom and system allocators C-enhancement Category: An issue proposing an enhancement or a PR with one. I-slow Issue: Problems and improvements with respect to performance of generated code. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#75264 opened Aug 7, 2020 by TimDiekmann
Vec::reserve should use alloc_excess A-allocators Area: Custom and system allocators A-collections Area: `std::collection` C-enhancement Category: An issue proposing an enhancement or a PR with one. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
#71383 opened Apr 21, 2020 by hsivonen
ProTip! Type g i on any issue or pull request to go back to the issue listing page.