You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the use of offset_from does not seem to be valid without enabling winapi/std. Although I'm not sure if winapi is doing the right thing by defining c_void as a zero sized type.
The text was updated successfully, but these errors were encountered:
A user on reddit reported that
System::new_all()
panics on his windows machine. Here's what I found:offset_from
call because referent is zero sizedLPVOID
is an alias to*mut c_void
std
feature is enabled in winapi, it definesc_void
as an empty enumSo the use of
offset_from
does not seem to be valid without enablingwinapi/std
. Although I'm not sure ifwinapi
is doing the right thing by definingc_void
as a zero sized type.The text was updated successfully, but these errors were encountered: