Skip to content

Implement wasi-tls #10089

@badeend

Description

@badeend

wasi-tls has recently been accepted as a phase 1 proposal.

We'd like to start implementing this in wasmtime. There already exists some prior efforts:


My suggestion is to add a new standalone wasi-tls crate:

  • under the /crates folder, similar to the other proposals.
  • that uses the WIT file from this PR
  • that targets WASI v0.2 for the time being. Work on a v0.3 interface can happen in parallel in the future.
  • that is completely experimental and therefore behind a tls flag.
  • uses rustls for its implementation? (up for discussion, see next comment)

Thoughts?


CC @dicej @jsturtevant

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