Skip to content

Contradicting SOL_TCP and SOL_UDP definition for p1 #855

Description

@ChihweiLHBird

They are not defined within the p1 scope in libc-bottom-half/headers/public/__header_sys_socket.h:

#define SOL_TCP 6
#define SOL_UDP 17

But they are included in expected/wasm32-wasip1/predefined-macros.txt:
https://github.com/WebAssembly/wasi-libc/blob/0d5332aceea8e72698b6abc270550e666ba97aea/expected/wasm32-wasip1/predefined-macros.txt

Which one should be the source of truth?

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