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 }}
Repository navigation
Separate unsized_locals into "sound" and "unsound" (i.e. incorrectly implemented) parts #71694
What we want is to factor unsized_locals into two features (either giving both fresh names or just allocating one fresh name, it doesn't matter all that much), where one of the two named features would only enable support for cases that we have actually implemented (correctly).
Specifically, we do not currently handle alignment of dyn Value because we would need to query that alignment dynamically and adjust the stack address accordingly (and allowing for such adjustment by allocating size + (align 1) ... which actually I guess would have to be done via alloca if we cannot put an upper-bound on align ... anyway I digress...)
Anyway, this issue is just about creating the new feature name(s), and splitting the current unsized_locals support accordingly, so that crates (specifically the internals of libstd) can opt into supporting just the construct that we know we have actually implemented properly.
Activity
Rollup merge of rust-lang#78152 - spastorino:separate-unsized-locals,…