Skip to content

libc.so exports wasi:cli/[email protected]#run, but it shouldn't #640

@dicej

Description

@dicej

Starting with WASI-SDK 28, the libc.so build for wasm32-wasip2 exports wasi:cli/[email protected]#run, which means an application component that includes libc.so cannot also export it. In addition, it means every component that includes libc.so now exports that function whether it intended to or not.

I don't believe libc.so should export any component-level functions whatsoever -- only import them. It's up to the application to export any component-level functions.

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