-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
F-unsized_locals`#![feature(unsized_locals)]``#![feature(unsized_locals)]`P-mediumMedium priorityMedium priorityT-compilerRelevant 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.requires-nightlyThis issue requires a nightly compiler in some way.This issue requires a nightly compiler in some way.
Description
Spawned off of #71416
Specifically this comment: #71416 (comment)
quoted here:
Unlike the other unsound features, this is one where we don't even have a plan for how to soundly implement it. Not sure how much I like keeping that around.
Can't we do something dynamic where we allocate
size + (align - 1)
and align it ourselves?
Also, this has been discussed before, hasn't it?
Metadata
Metadata
Assignees
Labels
F-unsized_locals`#![feature(unsized_locals)]``#![feature(unsized_locals)]`P-mediumMedium priorityMedium priorityT-compilerRelevant 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.requires-nightlyThis issue requires a nightly compiler in some way.This issue requires a nightly compiler in some way.