Skip to content

__wasi_socket_accept deceleration conflicted #1528

@lum1n0us

Description

@lum1n0us

The declaration of __wasi_socket_accept in wasi_socket_ext.h will be conflicted with api.h in wasi-libc.

WASI has supported soket_accept since wasi-sdk-15, and we need to sync up upstream modifications and keep backward compatibility for a while.

P.S.
I can't find any version related macros in wasi-sdk package, I guess #ifdef __WASI_RIGHTS_SOCK_ACCEPT is one option.

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