Do not destructure maybe-uninit fields
diff --git a/src/symbolize/gimli/libs_dl_iterate_phdr.rs b/src/symbolize/gimli/libs_dl_iterate_phdr.rs
index 8cb9116..e15750e 100644
--- a/src/symbolize/gimli/libs_dl_iterate_phdr.rs
+++ b/src/symbolize/gimli/libs_dl_iterate_phdr.rs
@@ -45,13 +45,10 @@
vec: *mut libc::c_void,
) -> libc::c_int {
// SAFETY: We are guaranteed these fields:
- let libc::dl_phdr_info {
- dlpi_addr,
- dlpi_name,
- dlpi_phdr,
- dlpi_phnum,
- ..
- } = unsafe { *info };
+ let dlpi_addr = unsafe { (*info).dlpi_addr };
+ let dlpi_name = unsafe { (*info).dlpi_name };
+ let dlpi_phdr = unsafe { (*info).dlpi_phdr };
+ let dlpi_phnum = unsafe { (*info).dlpi_phnum };
// SAFETY: We assured this.
let libs = unsafe { &mut *vec.cast::<Vec<Library>>() };
// most implementations give us the main program first