Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

printf stops working after command completion #54

@guybedford

Description

@guybedford

I've got a component which executes as a command via main(), after which exported functions may be called as part of an extended lifecycle for the application.

I'm finding that while these executions work correctly, and wasi-logging works correctly, printf only works correctly during the main() function, and after that its output is being entirely swallowed.

Here's a repo demonstrating the case - https://github.com/guybedford/wasi-command-export-printf. It's still a largeish component for Spidermonkey, I could possibly reduce it further, but perhaps the above is enough to track.

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