From b3f2ef82dd8fdc20887c09532c328356cf3552b6 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Mon, 27 Jan 2025 19:06:18 -0500 Subject: Update some rust impl Debug If a function had a tag it would recurse cyclicly --- rust/src/function.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src/function.rs') diff --git a/rust/src/function.rs b/rust/src/function.rs index b524edfb..d4eb1d53 100644 --- a/rust/src/function.rs +++ b/rust/src/function.rs @@ -2375,7 +2375,7 @@ impl Debug for Function { // TODO: I am sure there is more we should add to this. f.debug_struct("Function") .field("start", &self.start()) - .field("arch", &self.arch()) + .field("arch", &self.arch().name()) .field("platform", &self.platform()) .field("symbol", &self.symbol()) .field("is_auto", &self.is_auto()) -- cgit v1.3.1