From 6f8efee8c936de65bc31610eea30abd5461a5dd1 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Thu, 8 Oct 2020 15:53:49 -0700 Subject: [PATCH] use NativeEndian in symbolize::gimli::Context `Object` uses `NativeEndian`, so the `Context` should too. Cc: https://github.com/rust-lang/rust/issues/77410 --- src/symbolize/gimli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/symbolize/gimli.rs b/src/symbolize/gimli.rs index 58ed8bafca3d..273ff43f1c8c 100644 --- a/src/symbolize/gimli.rs +++ b/src/symbolize/gimli.rs @@ -5,7 +5,7 @@ //! intended to wholesale replace the `libbacktrace.rs` implementation. use self::gimli::read::EndianSlice; -use self::gimli::LittleEndian as Endian; +use self::gimli::NativeEndian as Endian; use self::mmap::Mmap; use self::stash::Stash; use super::BytesOrWideString; -- 2.26.2