From c4ba6d79ae3b96d56cc6b3744e7c64e004ecd161 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Tue, 21 Apr 2026 18:10:51 -0700 Subject: [Rust] Refactor `binary_view` module - Remove the "viral" `BinaryViewExt` trait and its blanket impl - Split up the binary view type from the custom trait impl - Simplify and fix bugs regarding custom binary view initialization - Rewrite Minidump binary view example, parses the PE headers to create proper sections now - Add some extra documentation - Add unit test for custom binary view --- rust/src/ffi.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'rust/src/ffi.rs') diff --git a/rust/src/ffi.rs b/rust/src/ffi.rs index d1c63216..45d142bf 100644 --- a/rust/src/ffi.rs +++ b/rust/src/ffi.rs @@ -34,7 +34,6 @@ pub(crate) fn time_from_bn(timestamp: u64) -> SystemTime { #[macro_export] macro_rules! ffi_span { ($name:expr, $bv:expr) => {{ - use $crate::binary_view::BinaryViewExt; #[allow(unused_imports)] use $crate::file_metadata::FileMetadata; ::tracing::info_span!($name, session_id = $bv.file().session_id().0).entered() -- cgit v1.3.1