When compiling for a Windows target (like x86_64-pc-windows-gnu), aliri_tokens/src/sources/file.rs:40:14 is flagged up as a compilation error, since .mode() is only implemented on Unix systems and therefore doesn't exist in OpenOptions for Windows targets.
When compiling for a Windows target (like
x86_64-pc-windows-gnu
),aliri_tokens/src/sources/file.rs:40:14
is flagged up as a compilation error, since.mode()
is only implemented on Unix systems and therefore doesn't exist inOpenOptions
for Windows targets.