-
-
Notifications
You must be signed in to change notification settings - Fork 364
Closed
Description
A user on reddit reported that System::new_all()
panics on his windows machine. Here's what I found:
- The panic is caused by this
offset_from
call because referent is zero sized LPVOID
is an alias to*mut c_void
- Unless
std
feature is enabled in winapi, it definesc_void
as an empty enum
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.
Metadata
Metadata
Assignees
Labels
No labels