Skip to content

Make writing to stdout and stderr not crash #2

Description

@erikrose

We're using --stub-wasi at the moment, which means things like fd_write are coded to immediately trap. Quit that. stdout and stderr not being in the preopens may also be a barrier; adding those should be possible with changes to Viceroy.

It may be possible and desirable to monkeypatch in Python to redirect stdout and stderr to a logging endpoint, though our initial attempts were unsuccessful.

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