Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yamt opened this issue Sep 21, 2023 · 0 comments
Open

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

yamt opened this issue Sep 21, 2023 · 0 comments

Comments

@yamt
Copy link
Contributor

yamt commented Sep 21, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant