Skip to content

Support a WASI reactor target #587

@andrewmd5

Description

@andrewmd5

Operating system: macOS
Processor architecture: M1 (arm64)
Rust version: not applicable
Javy version: latest

Problem

WASI/WASM ceremony is all over the place depending on what compiler produced the module. Most expect _start or _initialize to be called prior to any exported functions being invoked.

In the case of modules produced by Javy, if _start is called any subsequent calls to exported functions will fail with wasmtime reporting they’re unreachable.

If I remove my calls to _start then I can call into my exported functions without issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions