Skip to content

WebAssembly does not support runtime checking of isolated conformances #82825

Open
@DougGregor

Description

@DougGregor

Description

Isolated conformance checking at runtime is currently disabled in WebAssembly, as indicated by this disabled runtime test. The underlying problem is that we WebAssembly doesn't have __attribute__((constructor)) support on the C side, so the concurrency setup doesn't get executed. We'll need to find some way to run that setup code for WebAssembly, e.g., by injecting a call to the setup function from the compiler.

Reproduction

Re-enable the test linked above for WebAssembly.

Expected behavior

Test should be enabled and run,

Environment

Swift main, 6.2

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.triage neededThis issue needs more specific labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions