Skip to content

Fix generated component adapters without concurrency#13542

Merged
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:fix-no-concurrency-adapter
Jun 2, 2026
Merged

Fix generated component adapters without concurrency#13542
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:fix-no-concurrency-adapter

Conversation

@alexcrichton
Copy link
Copy Markdown
Member

This commit fixes an accidental regression introduced in #12550 where when compiling an adapter for a cross-component function call that contained resources but was using -Wconcurrency-support=n it would generate an invalid wasm module. The fix here is a relatively simple adaptation of the preexisting code toe nsure the no-concurrency path works the same as the concurrency-path.

Closes #13540

This commit fixes an accidental regression introduced in bytecodealliance#12550 where
when compiling an adapter for a cross-component function call that
contained resources but was using `-Wconcurrency-support=n` it would
generate an invalid wasm module. The fix here is a relatively simple
adaptation of the preexisting code toe nsure the no-concurrency path
works the same as the concurrency-path.

Closes bytecodealliance#13540
@alexcrichton alexcrichton requested a review from a team as a code owner June 2, 2026 21:45
@alexcrichton alexcrichton requested review from dicej and removed request for a team June 2, 2026 21:45
@alexcrichton alexcrichton added this pull request to the merge queue Jun 2, 2026
Merged via the queue into bytecodealliance:main with commit 143f7f8 Jun 2, 2026
51 checks passed
@alexcrichton alexcrichton deleted the fix-no-concurrency-adapter branch June 2, 2026 22:35
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.

Compilation fails due to generating invalid component adapter with -W concurrency-support=n

2 participants