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/platform.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src/platform.rs') diff --git a/rust/src/platform.rs b/rust/src/platform.rs index e732152c..cdbaf25d 100644 --- a/rust/src/platform.rs +++ b/rust/src/platform.rs @@ -399,7 +399,7 @@ impl Debug for Platform { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { f.debug_struct("Platform") .field("name", &self.name()) - .field("arch", &self.arch()) + .field("arch", &self.arch().name()) .finish() } } -- cgit v1.3.1