Skip to content

Commit 3356394

Browse files
authored
Haiku: fix build after PR #417 (#422)
1 parent 1ddaeba commit 3356394

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/symbolize/gimli/libs_haiku.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@
77

88
use super::mystd::borrow::ToOwned;
99
use super::mystd::ffi::{CStr, OsStr};
10+
use super::mystd::mem::MaybeUninit;
1011
use super::mystd::os::unix::prelude::*;
1112
use super::{Library, LibrarySegment, Vec};
1213

1314
pub(super) fn native_libraries() -> Vec<Library> {
1415
let mut libraries: Vec<Library> = Vec::new();
1516

1617
unsafe {
17-
let mut info = mem::MaybeUninit::<libc::image_info>::zeroed();
18+
let mut info = MaybeUninit::<libc::image_info>::zeroed();
1819
let mut cookie: i32 = 0;
1920
// Load the first image to get a valid info struct
2021
let mut status =

0 commit comments

Comments
 (0)