mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 09:13:07 +03:00
bad9ad06c0
Returns values up to 2*usize by value Addresses https://github.com/rust-lang/rust/pull/76986#discussion_r498306837 and https://github.com/rust-lang/rust/pull/76986#issuecomment-696415287 by doing the optimization on all targets. This matches what we do for functions returning `&[T]` and other fat pointers, so it should be Harmless™