Skip to content

Compilation error in async-fs on Windows #209

@mjaakkol

Description

@mjaakkol

I develop my stuff on Windows and MacOS and with the latest update Windows side started to cause troubles when pulling in async-fs. I was wondering if anybody else has seen this.

error[E0053]: method security_qos_flags has an incompatible type for trait
--> C:\Users\XXXX.cargo\registry\src\mygithub.libinneed.workers.dev-1ecc6299db9ec823\async-fs-1.3.0\src\lib.rs:1465:5
|
1465 | fn security_qos_flags(&mut self, flags: u32) -> &mut Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct std::fs::OpenOptions, found struct OpenOptions
|
= note: expected fn pointer fn(&mut OpenOptions, _) -> &mut std::fs::OpenOptions
found fn pointer fn(&mut OpenOptions, _) -> &mut OpenOptions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions