Skip to content

Model static and dynamic WASIX target linking separately #20

Description

@kilyanni

The WASIX Rust target needs the correct startup objects, runtime libraries, and
exports for both regular modules and dynamically linked modules. The downstream
patch hard-codes a runtime library list and changes export limiting on the base
target, so it is too broad to merge as-is.

Define the two target variants from their actual linker contracts, keeping
dynamic-linking behavior scoped to the -dl target. Add link tests that inspect
the resulting imports and exports and exercise a C dependency for each variant.

Related downstream patch:
WASIX linker configuration

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