From 4395682e7351c7f0ce462970c5f993f05d12fa15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20=C4=8Euri=C5=A1?= Date: Mon, 6 May 2024 10:18:47 +0200 Subject: [PATCH] add offset_of feature --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 13d09c2..c9e968e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -12,6 +12,7 @@ This structure should implement the following: #![forbid(unconditional_recursion, future_incompatible)] #![deny(unsafe_code)] +#![feature(offset_of)] #[allow(unsafe_code)] mod green;