Skip to content

Add Strategy::Winch and RegallocAlgorithm support to the C and C++ API#13155

Merged
alexcrichton merged 2 commits into
bytecodealliance:mainfrom
lethalbit:aki/wasmtime-c
Apr 20, 2026
Merged

Add Strategy::Winch and RegallocAlgorithm support to the C and C++ API#13155
alexcrichton merged 2 commits into
bytecodealliance:mainfrom
lethalbit:aki/wasmtime-c

Conversation

@lethalbit

Copy link
Copy Markdown
Contributor

Hi all!

This is a very small PR that just ensures that Strategy::Winch has been added to the C and C++ side of things.

It also adds support for setting cranelift_regalloc_algorithm, via the C and C++ APIs so it adds the needed bits for that (that being support for setting it via the C and C++ APIs and the new enum defs on that side of the FFI fence)

I did give a quick canvas around and didn't find anything super directly related to these changes in the existing PR list, but I could have missed something!

@lethalbit lethalbit requested a review from a team as a code owner April 20, 2026 22:26
@lethalbit lethalbit requested review from fitzgen and removed request for a team April 20, 2026 22:26
@lethalbit lethalbit changed the title Add Strategy::Winch and RegallocAlgorithm support to the C an C++ API Add Strategy::Winch and RegallocAlgorithm support to the C and C++ API Apr 20, 2026

@alexcrichton alexcrichton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@alexcrichton alexcrichton added this pull request to the merge queue Apr 20, 2026
Merged via the queue into bytecodealliance:main with commit 3250c98 Apr 20, 2026
52 checks passed
@lethalbit lethalbit deleted the aki/wasmtime-c branch April 21, 2026 00:43
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.

2 participants