diff --git a/test/src/test_export_enum.rs b/test/src/test_export_enum.rs index b40cb8698..a738cdd28 100644 --- a/test/src/test_export_enum.rs +++ b/test/src/test_export_enum.rs @@ -1,6 +1,8 @@ use gdnative::prelude::*; #[derive(Debug, PartialEq, Clone, Copy, Export, ToVariant, FromVariant)] +#[variant(enum = "repr")] +#[repr(i32)] enum Dir { Up = 1, Down = -1,