Skip to content

Commit

Permalink
Haiku: fix build after PR #417 (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
nielx authored May 2, 2021
1 parent 1ddaeba commit 3356394
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/symbolize/gimli/libs_haiku.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@

use super::mystd::borrow::ToOwned;
use super::mystd::ffi::{CStr, OsStr};
use super::mystd::mem::MaybeUninit;
use super::mystd::os::unix::prelude::*;
use super::{Library, LibrarySegment, Vec};

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

unsafe {
let mut info = mem::MaybeUninit::<libc::image_info>::zeroed();
let mut info = MaybeUninit::<libc::image_info>::zeroed();
let mut cookie: i32 = 0;
// Load the first image to get a valid info struct
let mut status =
Expand Down

0 comments on commit 3356394

Please sign in to comment.