From 5caa755d1f7af1bcbd4649ec98531767d0ad4084 Mon Sep 17 00:00:00 2001 From: FernTheDev <15272073+Fernthedev@users.noreply.github.com> Date: Fri, 3 Jan 2025 12:00:33 -0400 Subject: [PATCH] Wrap everything with GC type if applicable --- src/generate/rust/rust_fields.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generate/rust/rust_fields.rs b/src/generate/rust/rust_fields.rs index 17a76ddef..9b771a883 100644 --- a/src/generate/rust/rust_fields.rs +++ b/src/generate/rust/rust_fields.rs @@ -547,7 +547,7 @@ fn make_rust_field( RustField { name: format_ident!("{}", config.name_rs(&f.name)), - field_type: field_type.to_type_token(), + field_type: field_type.wrap_by_gc().to_type_token(), visibility: Visibility::Public, offset: f.offset.unwrap_or_default(), }