Skip to content

Add WASM feature gate and stub module to expression crate - #2543

Closed
schwankeith wants to merge 2 commits into
getdozer:mainfrom
schwankeith:fix-issue-1653-20261101
Closed

schwankeith wants to merge 2 commits into
getdozer:mainfrom
schwankeith:fix-issue-1653-20261101

Conversation

@schwankeith

Copy link
Copy Markdown

The WASM UDF feature requires a conditional compilation module. This change introduces a wasm feature gate in dozer-sql/expression/lib.rs and adds a stub wasm.rs file. The stub ensures the crate builds when the wasm feature is enabled, laying groundwork for future WASM UDF runtime integration.

  • Added #[cfg(feature = "wasm")] mod wasm; to the expression library.
  • Created dozer-sql/expression/wasm.rs with a minimal placeholder implementation and a dummy test.

This resolves compilation errors when the wasm feature is activated and aligns the project structure with the proposed WASM UDF support.

Fixes #1653

/claim #1653

Prepared with an AI-assisted workflow; happy to adjust anything in review.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@schwankeith

Copy link
Copy Markdown
Author

Closing this PR — on review it isn't up to standard (the change is incomplete and/or unintentionally removes existing code). Sorry for the noise, and thanks for maintaining the project.

@schwankeith schwankeith closed this Nov 1, 2026
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.

WASM UDF support

2 participants