diff --git a/src/context/list.rs b/src/context/list.rs index e900ebc..7d2973a 100644 --- a/src/context/list.rs +++ b/src/context/list.rs @@ -82,7 +82,7 @@ impl ContextList { let mut stack = vec![0; 65_536].into_boxed_slice(); let offset = stack.len() - mem::size_of::(); - #[cfg(target_arch = "x86_64")] + #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] unsafe { let offset = stack.len() - mem::size_of::(); let func_ptr = stack.as_mut_ptr().add(offset);