summaryrefslogtreecommitdiff
path: root/rust/src/function.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-01-27 19:06:18 -0500
committerMason Reed <mason@vector35.com>2025-01-27 19:07:19 -0500
commitb3f2ef82dd8fdc20887c09532c328356cf3552b6 (patch)
tree35d33f72d16f5ec8f084b1785dd399c2a5cdd7a0 /rust/src/function.rs
parent4551d1f3f4c99d72437d5908fe2aaa0ac850bb1f (diff)
Update some rust impl Debug
If a function had a tag it would recurse cyclicly
Diffstat (limited to 'rust/src/function.rs')
-rw-r--r--rust/src/function.rs2
1 files changed, 1 insertions, 1 deletions
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())