Skip to content

Remove unnecessary memory_tys param from vm::Instance::new#12414

Merged
fitzgen merged 1 commit intobytecodealliance:mainfrom
fitzgen:remove-memory-tys-param-from-vm-instance-new
Jan 23, 2026
Merged

Remove unnecessary memory_tys param from vm::Instance::new#12414
fitzgen merged 1 commit intobytecodealliance:mainfrom
fitzgen:remove-memory-tys-param-from-vm-instance-new

Conversation

@fitzgen
Copy link
Copy Markdown
Member

@fitzgen fitzgen commented Jan 23, 2026

We already have this information in the InstanceAllocationRequest, and by avoiding a parameter we can never accidentally pass the wrong memory types.

We already have this information in the `InstanceAllocationRequest`, and by
avoiding a parameter we can never accidentally pass the wrong memory types.
@fitzgen fitzgen requested a review from a team as a code owner January 23, 2026 20:27
@fitzgen fitzgen requested review from alexcrichton and removed request for a team January 23, 2026 20:27
@fitzgen fitzgen enabled auto-merge January 23, 2026 20:38
@fitzgen fitzgen added this pull request to the merge queue Jan 23, 2026
Merged via the queue into bytecodealliance:main with commit 58ce6b8 Jan 23, 2026
45 checks passed
@fitzgen fitzgen deleted the remove-memory-tys-param-from-vm-instance-new branch January 23, 2026 21:04
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