Skip to content

chore(build): Move WPT support build-time to runtime config#257

Merged
tschneidereit merged 4 commits intomainfrom
wpt-aint-so-special
Aug 4, 2025
Merged

chore(build): Move WPT support build-time to runtime config#257
tschneidereit merged 4 commits intomainfrom
wpt-aint-so-special

Conversation

@tschneidereit
Copy link
Member

Instead of requiring a CMake build config option to enable WPT support, with this change that's moved to the new --wpt-mode runtime flag.Instead of requiring a CMake build config option to enable WPT support, with this change that's moved to the new --wpt-mode runtime flag.

Also changes CI to only do one build of the runtime itself for all types of tests.

Instead of requiring a CMake build config option to enable WPT support, with this change that's moved to the new `--wpt-mode` runtime flag.

Signed-off-by: Till Schneidereit <till@tillschneidereit.net>
Now that WPT doesn't need special build config anymore, we can use one runtime build for all tests.

Signed-off-by: Till Schneidereit <till@tillschneidereit.net>
@tschneidereit tschneidereit force-pushed the wpt-aint-so-special branch 2 times, most recently from f114263 to f44689a Compare August 3, 2025 14:17
This ensures that the check for whether wasmtime is ready can read out the address it is serving on. Before, it was possible for that part to be in a different chunk of output and hence missed.

Signed-off-by: Till Schneidereit <till@tillschneidereit.net>
When running in parallel with other tests in CI, 20 seconds can be insufficient, apparently.

Signed-off-by: Till Schneidereit <till@tillschneidereit.net>
@tschneidereit tschneidereit requested a review from andreiltd August 3, 2025 19:14
Copy link
Member

@andreiltd andreiltd left a comment

Choose a reason for hiding this comment

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

Should justfile be updated as well?

@tschneidereit
Copy link
Member Author

Should justfile be updated as well?

It is updated as part of the changes here. Do you mean something besides the changes I applied?

@andreiltd
Copy link
Member

Oh that's right I missed that, sorry!

@tschneidereit tschneidereit merged commit 84b2d5f into main Aug 4, 2025
5 checks passed
@tschneidereit tschneidereit deleted the wpt-aint-so-special branch August 4, 2025 11:28
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