bolts: fix openbsd build (#2467)
Co-authored-by: dcarlier <dcarlier@openbsdvbox.chello.ie>
This commit is contained in:
parent
7ee5962288
commit
291fdeb85e
@ -1,7 +1,7 @@
|
|||||||
//! Implements a mini-bsod generator.
|
//! Implements a mini-bsod generator.
|
||||||
//! It dumps all important registers and prints a stacktrace.
|
//! It dumps all important registers and prints a stacktrace.
|
||||||
|
|
||||||
#[cfg(target_vendor = "apple")]
|
#[cfg(any(target_vendor = "apple", target_os = "openbsd"))]
|
||||||
use core::mem::size_of;
|
use core::mem::size_of;
|
||||||
use std::io::{BufWriter, Write};
|
use std::io::{BufWriter, Write};
|
||||||
#[cfg(any(target_os = "solaris", target_os = "illumos"))]
|
#[cfg(any(target_os = "solaris", target_os = "illumos"))]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user