Skip to content

[Cross-Platform Bug] macOS build fails #68

@0xEgao

Description

@0xEgao

Currently it compiles and runs successfully on Linux, but fails on macOS with the following error:
*mut c_void cannot be sent between threads safely

Root cause

On macOS, mio (or kqueue-based poll registry) uses raw pointers (*mut c_void) internally, which are not Send,therefore it doesn't compiles.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions