Results 490 comments of Jacob Lifshay

> it is not totally incompatible (a cpu can implement both), but is totally independent of VSX/VMX, with what happens when you try to use SVP64 prefixing on a VSX...

one note (iirc i said this before but imho is worth repeating), please don't assume that POWER9/10 are the only CPUs with v3.0/3.1 support or that v3.0/3.1 support implies having...

here's the code: https://docs.rs/sysinfo/0.29.4/x86_64-pc-windows-msvc/src/sysinfo/windows/system.rs.html#258 afaict this is the sysinfo crate's fault since it gets a pointer from `Vec` and creates a reference to a not necessarily aligned `SYSTEM_PROCESS_INFORMATION` inside that...

afaict if you run this code on an old 32-bit arm windows computer it will crash (old enough that it doesn't support misaligned loads), rustc is just exploiting the UB...

it also manually offsets by an unknown number of bytes (provided by the win32 function), so, because it's crashing, obviously the number of bytes is not a multiple of the...

created a bug: https://github.com/GuillaumeGomez/sysinfo/issues/1009 @LunNova if you could add a code example that uses sysinfo and reproduces the bug that would be awesome!

Winehq aligns to a multiple of 8: https://gitlab.winehq.org/wine/wine/-/blob/cb33d402bb7fc44a51cd96adfbe740d4b2d7a134/dlls/ntdll/unix/system.c#L2511

on x86_64-pc-windows-gnu, ntapi v0.4.1: `std::mem::align_of::() = 8` so winehq should be correct...hmm

as mentioned on zulip, turns out the docs are in clippy's docs, however bjorn's script is still much easier to use than the one linked in the docs because it...

@flodiebold is there a tracking issue or something that we can follow for progress on the new trait solver?