You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "XiangpengHao (via GitHub)" <gi...@apache.org> on 2025/01/09 18:51:12 UTC
[PR] `object_store_opendal` now compiles on wasm32-unknown-unknown [opendal]
XiangpengHao opened a new pull request, #5530:
URL: https://github.com/apache/opendal/pull/5530
# Which issue does this PR close?
<!--
We generally require a GitHub issue to be filed for all bug fixes and enhancements. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123.
-->
Closes #5525.
# Rationale for this change
Now it should compile on `wasm32-unknown-unknown`
<!--
Why are you proposing this change? If this is already explained clearly in the issue then this section is not needed.
Explaining clearly why changes are proposed helps reviewers understand your changes and offer better suggestions for fixes.
-->
# What changes are included in this PR?
Minor bug fix.
After getting more educated around the issue, I think we can make it work without changing object_store crate. This patch has minor adjustments to make it work for wasm32.
I added a minor doc to instruct wasm users to enable send_wrapper feature. I also disabled the default feature so that it compiles -- users can add their own opendal features in their Cargo.toml.
One of the future work is to probably add CI to make sure it always build on wasm32-unknown-unknown.
<!--
There is no need to duplicate the description in the issue here but it is sometimes worth providing a summary of the individual changes in this PR.
-->
# Are there any user-facing changes?
No
<!--
If there are user-facing changes then we may require documentation to be updated before approving the PR.
-->
<!---
If there are any breaking changes to public APIs, please add the `breaking-changes` label.
-->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(integrations/object_store) `object_store_opendal` now compiles on wasm32-unknown-unknown [opendal]
Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo merged PR #5530:
URL: https://github.com/apache/opendal/pull/5530
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org