Skip to content

Commit

Permalink
MachO: use core instead of std
Browse files Browse the repository at this point in the history
  • Loading branch information
scollinson committed Oct 22, 2024
1 parent cbbf555 commit 41c81c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/macho.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

use crate::endian::{BigEndian, Endian, U64Bytes, U16, U32, U64};
use crate::pod::Pod;
use std::fmt::{self, Debug};
use core::fmt::{self, Debug};

// Definitions from "/usr/include/mach/machine.h".

Expand Down
4 changes: 2 additions & 2 deletions src/read/macho/dyld_cache.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use alloc::{boxed::Box, vec::Vec};
use core::fmt::{self, Debug};
use core::iter;
use core::{mem, slice};
use std::fmt::{self, Debug};
use std::iter;

use crate::endian::{Endian, Endianness, U16, U32, U64};
use crate::macho;
Expand Down

0 comments on commit 41c81c7

Please sign in to comment.