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

Only depend on Abseil in threaded builds. #617

Merged
merged 1 commit into from
Mar 10, 2021
Merged

Conversation

whitequark
Copy link
Member

Abseil has a hard dependency on threads (not just in the build system but in many places in the base libraries), so there is no way to use it on WASI at the moment. Assuming that Abseil will only be used for speed and not because it provides a richer API, I suggest this workaround.

Fixes #616.

Abseil has a hard dependency on threads (not just in the build system
but in many places in the base libraries), so there is no way to use
it on WASI at the moment.
@whitequark whitequark requested a review from gatecat March 10, 2021 06:20
@gatecat
Copy link
Member

gatecat commented Mar 10, 2021

Thanks, this seems like a reasonable option to unbreak the build for now but I'll hold off adding any more dependency on abseil until we think about this more.

@gatecat gatecat merged commit 7f0c23d into master Mar 10, 2021
@gatecat gatecat deleted the no-absl-on-wasi branch March 10, 2021 10:03
@whitequark
Copy link
Member Author

Thank you!

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

Successfully merging this pull request may close these issues.

Dependency on Abseil making WASM/YoWASP builds impossible
2 participants