Stream: git-wasmtime

Topic: wasmtime / PR #13108 Delete the `wasi-common` crate from ...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 15 2026 at 17:30):

alexcrichton requested wasmtime-wasi-reviewers for a review on PR #13108.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 15 2026 at 17:30):

alexcrichton opened PR #13108 from alexcrichton:remove-wasi-common to bytecodealliance:main:

This crate has been languishing without maintenance within this repository for a number of years now and I think it's time to remove it. This commit proposes removing it without replacement.

Some history of the wasi-common crate:

The main reason wasi-common has stuck around until now is that it's the only way to use WASIp1 APIs when enabling the experimental wasi-threads proposal. The wasmtime-wasi crate architecturally does not support threads, so it cannot fill this niche.

This begs the question of: why remove the crate now? The rationale I have is:

Overall I personally feel that the calculus has pointed towards the removal of wasi-common for quite a long time now and we just haven't gotten around to it. Thus, this commit gets around to it. The concrete changes here in this commit are:

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Apr 15 2026 at 17:30):

alexcrichton requested cfallin for a review on PR #13108.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 15 2026 at 17:30):

alexcrichton requested wasmtime-default-reviewers for a review on PR #13108.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 15 2026 at 17:30):

alexcrichton requested wasmtime-core-reviewers for a review on PR #13108.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 15 2026 at 17:39):

alexcrichton updated PR #13108.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 15 2026 at 18:00):

cfallin submitted PR review:

Removal looks OK to me technically!

As a policy decision this should probably be discussed at the next Wasmtime meeting just for completeness / formal approval (I personally agree completely with your rationale here but don't want to speak for the whole project).

view this post on Zulip Wasmtime GitHub notifications bot (Apr 15 2026 at 18:00):

cfallin created PR review comment:

Should we update the comment just above this to no longer refer to the "historical preview1 implementation"?

view this post on Zulip Wasmtime GitHub notifications bot (Apr 15 2026 at 18:28):

pchickey submitted PR review:

As the one of the authors of wasi-common I strongly support this change - its definitely time to sunset this legacy code. I agree with Chris that we can discuss it at a Wasmtime project meeting just to give everyone time and opportunity to weigh in.

For anyone who still needs wasi-common, they can use it on the LTS releases until their support term is up, but removing this crate from the tree frees us from a real maintenance burden and is the right path for the project.

The -Sthreads flag now requires that -Scli=n is passed (wasi-threads is incompatible with the implementation of WASIp1)

I think that this means that, effectively, there are no more programs that can make use of the wasi-threads proposal in wasmtime.

wasi-threads was always proposed and used a superset of wasip1, and since now the implementation won't support the wasip1 imports at all, we should also be sunsetting the wasi-threads implementation at the same time as we sunset wasi-common.

As you said in the justification for removing wasi-common, the entire story behind wasi-threads has long been known to be a dead end, and with wasip3 we now have a cooperative threads implementation on track to land, and shared-everything threads will follow after that.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 15 2026 at 18:30):

pchickey edited PR #13108:

This crate has been languishing without maintenance within this repository for a number of years now and I think it's time to remove it. This commit proposes removing it without replacement.

Some history of the wasi-common crate:

The main reason wasi-common has stuck around until now is that it's the only way to use WASIp1 APIs when enabling the experimental wasi-threads proposal. The wasmtime-wasi crate architecturally does not support threads, so it cannot fill this niche.

This begs the question of: why remove the crate now? The rationale I have is:

Overall I personally feel that the calculus has pointed towards the removal of wasi-common for quite a long time now and we just haven't gotten around to it. Thus, this commit gets around to it. The concrete changes here in this commit are:

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Apr 15 2026 at 20:03):

github-actions[bot] added the label wasi on PR #13108.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 23 2026 at 22:13):

alexcrichton closed without merge PR #13108.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 23 2026 at 22:13):

alexcrichton commented on PR #13108:

I've opened an RFC for this after the discussion in today's meeting, so I'll close this in favor of that.


Last updated: May 03 2026 at 22:13 UTC