Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(integrations/object_store) object_store_opendal now compiles on wasm32-unknown-unknown #5530

Merged
merged 3 commits into from
Jan 10, 2025

Conversation

XiangpengHao
Copy link
Contributor

Which issue does this PR close?

Closes #5525.

Rationale for this change

Now it should compile on wasm32-unknown-unknown

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.

Are there any user-facing changes?

No

@XiangpengHao XiangpengHao changed the title object_store_opendal now compiles on wasm32-unknown-unknown fix(integrations/object_store) object_store_opendal now compiles on wasm32-unknown-unknown Jan 9, 2025
Copy link
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @XiangpengHao for working on this!

@Xuanwo Xuanwo merged commit 0996e13 into apache:main Jan 10, 2025
178 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: object_store_opendal does not compile on wasm32-unknown-unknown
2 participants