Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Merge with main#239

Merged
alexcrichton merged 10 commits intobytecodealliance:mainfrom
alexcrichton:merge
Jul 17, 2025
Merged

Merge with main#239
alexcrichton merged 10 commits intobytecodealliance:mainfrom
alexcrichton:merge

Conversation

@alexcrichton
Copy link
Copy Markdown
Member

No description provided.

alexcrichton and others added 9 commits July 16, 2025 16:39
A small amount of `unsafe` code is required to enable this but the
recent refactorings to use `Pin<&mut ComponentInstance>` everywhere
makes this a much easier piece of `unsafe` code to verify.
Similar to previous refactorings which handles the imported/exported
distinction in wasm instead of in host code this updates the
`table.fill`-related libcall intrinsics to take a defined table index
instead of a general table index, enabling using a currently-safer
helper function.
This adds missing `Debug` implementations for `Host{Future,Stream}`
which enables turning on `tracing`.

Closes #11245
* Rename `Instance::run_with` to `Instance::run_concurrent`

This commit renames `run_with` to `run_concurrent` and additionally
deletes the `Instance::run` method. With `Accessor`-related changes
there's no need to have a "just run with a future" method as almost
everything is going to require `run_concurrent` anyway to acquire an
accessor.

Closes #11224

* Fix compile issues

* Update crates/wasmtime/src/runtime/component/func/typed.rs

Co-authored-by: Joel Dice <joel.dice@fermyon.com>

---------

Co-authored-by: Joel Dice <joel.dice@fermyon.com>
* evex prefix for new assembler, vaddpd inst, prtest:full

* review: refactor `VexLength` and `EvexLength` into a single `Length`

* review: fix order of instruction definition to match manual

Also, adds some missing `.r()` helpers for consistency.

* review: remove opmask registers and mask kind for now

This will require more work to expose these as special,
runtime-available flags on the generated instruction.

* review: remove as-yet unknown operand patterns for EVEX

It's likely they will share logic with the VEX patterns but we can
refactor that in the future.

* review: fix up the `mmm` bit field, document

* fix: use new `Length` name in doc tests

* review: rename `VexW` to `WBit`

* Ensure VEX instructions cannot be defined with `Length::L512`

* Use `WBit` in REX instructions

---------

Co-authored-by: Andrew Brown <andrew.brown@intel.com>
This commit updates the various methods of `Stream{Reader,Writer}` to
take a mutable reference to `self` instead of `self`-by-value. This is
something which I personally feel is more idiomatic and avoids
cumbersome and possibly frequent move-in-and-move-out style code. This
is additionally coupled with a new `is_closed` method on each of these
types to determine if the stream's other end has been closed after the
last read/write operation.

Closes #11219
This fixes a fuzz failure with the new async tests which require more
than one stack.
@alexcrichton alexcrichton enabled auto-merge July 17, 2025 14:33
@alexcrichton alexcrichton added this pull request to the merge queue Jul 17, 2025
Merged via the queue into bytecodealliance:main with commit 9c83732 Jul 17, 2025
174 checks passed
@alexcrichton alexcrichton deleted the merge branch July 17, 2025 16:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants