abseil-cpp icon indicating copy to clipboard operation
abseil-cpp copied to clipboard

fix(wasi): update wasi stubs

Open ricochet opened this issue 1 month ago • 2 comments

Today, WASI does not support atomics. Support for WASI in Abseil was added in #1509 and needs to be refreshed.

Note that there is a roadmap item for wasi that will give us access to atomics via the component model's cooperative threads feature. Implementations are in progress but this may take a few months and so in the mean time, we need this fix.

I created an example with the necessary stubs that are missing from upstream abseil and validated that these can be removed with the changes in this PR: https://github.com/ricochet/wasi-protobuf/blob/main/wasi-build/wasi_stubs.cpp

ricochet avatar Nov 23 '25 19:11 ricochet

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Nov 23 '25 19:11 google-cla[bot]

Thank you that simplified it quite a bit 👍

ricochet avatar Dec 03 '25 14:12 ricochet