Skip to content

runtime environment consistency (mainly about fd 0-2) #90

Open
@yamt

Description

@yamt

it might make sense to provide a bit more consistent environment for tests.
eg. create a tty for fd 0-2

a few possible places where it can be done:

  • someone who invokes our test runner (as of today)
  • our test runner
  • runtime adapter
  • runtime itself

open questions:

  • how much flexibility do we want? is it good enough to always assign fd 0-2 to a tty?
  • do we want to support runtimes which don't "share" fd 0-2 with host fds?
  • what to do for non-posix host?

cf.
yamt/toywasm@570e670
bytecodealliance/wasm-micro-runtime#2576

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