If not obvious, the #[cfg(not(windows))] block is only for things that are absolutely not supported on Windows, like the concept of UNIX modes, for which there is no equivalent. Windows uses ACLs exclusively, and the current user defaults to full control (including execute) for files it creates.
This got broken after a few days.
If not obvious, the
#[cfg(not(windows))]
block is only for things that are absolutely not supported on Windows, like the concept of UNIX modes, for which there is no equivalent. Windows uses ACLs exclusively, and the current user defaults to full control (including execute) for files it creates.No such limitations on HashSet that I'm aware of.