From e9b7c410bd50582d2a6ecd49cf02ea8f54ec1f1d Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Tue, 16 Jan 2024 15:34:55 -0500 Subject: DWARF Import : Remove a bunch of CString overhead --- rust/examples/dwarf/dwarf_import/src/functions.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'rust/examples/dwarf/dwarf_import/src/functions.rs') diff --git a/rust/examples/dwarf/dwarf_import/src/functions.rs b/rust/examples/dwarf/dwarf_import/src/functions.rs index e031071b..1d8879a0 100644 --- a/rust/examples/dwarf/dwarf_import/src/functions.rs +++ b/rust/examples/dwarf/dwarf_import/src/functions.rs @@ -18,14 +18,12 @@ use crate::types::get_type; use gimli::{constants, DebuggingInformationEntry, Reader, Unit}; -use std::ffi::CString; - fn get_parameters>( unit: &Unit, entry: &DebuggingInformationEntry, debug_info_builder_context: &DebugInfoBuilderContext, debug_info_builder: &mut DebugInfoBuilder, -) -> Vec> { +) -> Vec> { if !entry.has_children() { vec![] } else { -- cgit v1.3.1