From 748abd97d62114d80d5a180f393e6af05b24de4a Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Fri, 12 Jul 2019 14:45:04 -0500 Subject: [PATCH] https://github.com/CraneStation/wasmtime/pull/186#discussion_r302781231 --- wasmtime-debug/src/transform.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wasmtime-debug/src/transform.rs b/wasmtime-debug/src/transform.rs index 022f9281ce..cf10a94056 100644 --- a/wasmtime-debug/src/transform.rs +++ b/wasmtime-debug/src/transform.rs @@ -76,7 +76,7 @@ where debug_addr_base: DebugAddrBase, rnglists: &'a RangeLists, loclists: &'a LocationLists, - reachable: &'a HashSet, + reachable: HashSet, } type PendingDieRef = (write::UnitEntryId, gimli::DwAt, UnitOffset); @@ -632,7 +632,7 @@ pub fn transform_dwarf( debug_addr_base: DebugAddrBase(0), rnglists: &di.dwarf.ranges, loclists: &di.dwarf.locations, - reachable: &reachable, + reachable, }; let out_encoding = gimli::Encoding {