Skip to content

Conversation

@alexcrichton
Copy link
Member

This repository is often used to test experimental/upcoming features for components such as async/etc, but this creates a chicken-and-egg problem where it becomes difficult to compile tests. Many tests use upstream toolchains which use wasm-component-ld (e.g. Rust/C tests) but it can take time to get this updated. There's already logic to handle having tests target wasip1 and running the wit-component step manually, so this PR makes that step unconditional. This means that test binaries are always assembled with a crate-dependency of wit-component which should enable easier updates since it's "just" a Cargo dependency vs being part of a toolchain in a separate project.

This repository is often used to test experimental/upcoming features for
components such as async/etc, but this creates a chicken-and-egg problem
where it becomes difficult to compile tests. Many tests use upstream
toolchains which use `wasm-component-ld` (e.g. Rust/C tests) but it can
take time to get this updated. There's already logic to handle having
tests target wasip1 and running the wit-component step manually, so this
PR makes that step unconditional. This means that test binaries are
always assembled with a crate-dependency of `wit-component` which should
enable easier updates since it's "just" a Cargo dependency vs being part
of a toolchain in a separate project.
@alexcrichton alexcrichton requested a review from dicej November 24, 2025 23:00
@alexcrichton alexcrichton added this pull request to the merge queue Nov 24, 2025
Merged via the queue into bytecodealliance:main with commit 87c646e Nov 25, 2025
22 checks passed
@alexcrichton alexcrichton deleted the always-run-wit-component branch November 25, 2025 00:13
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