Skip to content

Comments

Use fallible collection helpers in TypeRegistry#12508

Merged
alexcrichton merged 2 commits intobytecodealliance:mainfrom
alexcrichton:merge-some-prs
Feb 3, 2026
Merged

Use fallible collection helpers in TypeRegistry#12508
alexcrichton merged 2 commits intobytecodealliance:mainfrom
alexcrichton:merge-some-prs

Conversation

@alexcrichton
Copy link
Member

Merging together #12500 and #12505 of a sorts.

@alexcrichton alexcrichton requested a review from fitzgen February 3, 2026 20:00
@alexcrichton alexcrichton requested a review from a team as a code owner February 3, 2026 20:00
Copy link
Member

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

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

Thanks!

@github-actions github-actions bot added the wasmtime:api Related to the API of the `wasmtime` crate itself label Feb 3, 2026
@alexcrichton
Copy link
Member Author

TIL Vec::with_capacity is not an exact-fit allocation, it reserves at least that capacity

@alexcrichton alexcrichton added this pull request to the merge queue Feb 3, 2026
Merged via the queue into bytecodealliance:main with commit c13148b Feb 3, 2026
45 checks passed
@alexcrichton alexcrichton deleted the merge-some-prs branch February 3, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wasmtime:api Related to the API of the `wasmtime` crate itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants