Skip to content

Conversation

@ricochet
Copy link
Contributor

Depends on #1424

This adds resource support for wit-bindgen cpp + clippy cleanups across the generator.

I think the remaining missing feature is covering multiversion. The rest all appear to be async wasip3.

@cpetig
Copy link
Collaborator

cpetig commented Nov 19, 2025

Looks very good, I see a lot of code quality improvements and unifications (which even out the historically grown code base with newer additions like "move_if_necessary", and as usual the clippy warnings are significant quality improvements)

| "import_export_func.wit"
| "import-func.wit"
| "issue573.wit"
| "issue929-no-export.wit"
Copy link
Collaborator

Choose a reason for hiding this comment

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

This file alone shows the quality improvement by this patch ;-)

@ricochet ricochet added the gen-cpp Related to the C++ code generator label Nov 19, 2025
Signed-off-by: Bailey Hayes <behayes2@gmail.com>
Signed-off-by: Bailey Hayes <behayes2@gmail.com>
@alexcrichton alexcrichton added this pull request to the merge queue Nov 19, 2025
Merged via the queue into bytecodealliance:main with commit 5ad77e0 Nov 19, 2025
21 of 22 checks passed
@ricochet ricochet deleted the cpp-resources branch November 21, 2025 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gen-cpp Related to the C++ code generator

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants