Skip to content

Add sys._wasi_info #158628

Description

@brettcannon

Feature or enhancement

It should probably cover:

  • WASI version (p1, etc. as done by Rust)
  • Full WASI SDK version
  • Whether cooperative multithreading was compiled in

os.uname().machine tells you whether it's wasm32 or 64, so this will be enough to calculate the host triple used for compiling.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

https://bytecodealliance.zulipchat.com/#narrow/channel/394175-SIG-Guest-Languages/topic/Testing.20Python.20in.20wasi-libc.27s.20CI/near/612185469

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions