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
Clippy is failing with this error in `BootServices::find_handles`:
error: calling `set_len()` immediately after reserving a buffer creates uninitialized values
Fix by using `Handle::uninitialized`, which uses `MaybeUninit`
internally. This may not be quite as efficient since the vec data is
getting initialized now, but it seems unlikely to matter in practice.
Also replaced a second unsafe call to `set_len` with `truncate`.
0 commit comments