Skip to content

Commit cf78a6a

Browse files
committed
Switch to EndianSlice
1 parent 8743097 commit cf78a6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unwind/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ extern crate libc;
55
extern crate fallible_iterator;
66
#[macro_use] extern crate log;
77

8-
use gimli::{UnwindSection, UnwindTable, UnwindTableRow, EhFrame, BaseAddresses, UninitializedUnwindContext, Pointer, Reader, CieOrFde, EndianBuf, NativeEndian, CfaRule, RegisterRule, EhFrameHdr, ParsedEhFrameHdr};
8+
use gimli::{UnwindSection, UnwindTable, UnwindTableRow, EhFrame, BaseAddresses, UninitializedUnwindContext, Pointer, Reader, EndianSlice, NativeEndian, CfaRule, RegisterRule, EhFrameHdr, ParsedEhFrameHdr};
99
use fallible_iterator::FallibleIterator;
1010

1111
mod registers;
@@ -35,7 +35,7 @@ pub trait Unwinder: Default {
3535
fn trace<F>(&mut self, f: F) where F: FnMut(&mut StackFrames);
3636
}
3737

38-
type StaticReader = EndianBuf<'static, NativeEndian>;
38+
type StaticReader = EndianSlice<'static, NativeEndian>;
3939

4040
struct ObjectRecord {
4141
er: EhRef,

0 commit comments

Comments
 (0)