Skip to content

Comments

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

Merged
Xuanwo merged 3 commits intoapache:mainfrom
XiangpengHao:main
Jan 10, 2025
Merged

fix(integrations/object_store) object_store_opendal now compiles on wasm32-unknown-unknown#5530
Xuanwo merged 3 commits intoapache:mainfrom
XiangpengHao:main

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
@github-actions github-actions bot added the releases-note/fix The PR fixes a bug or has a title that begins with "fix" label 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

releases-note/fix The PR fixes a bug or has a title that begins with "fix"

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