alexcrichton opened PR #13089 from alexcrichton:faster-artifacts to bytecodealliance:main:
- Convert core wasms to components in parallel
- Skip the core wasm to component part if the artifacts are up-to-date (based on mtime)
- Build the C/C++ programs in parallel.
The goal here is to pick some low-hanging fruit to prevent this from being such a bottleneck in local development, but there's more that can be done if necessary (e.g. reading the dep files and calculating that all manually). Right now for example the longer steps are invoking Cargo which does nothing and invoking the C/C++ compilers unconditionally, but solving that makes this more of a "build a build system" script and I feel like we haven't quite crossed that threshold yet.
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested wasmtime-core-reviewers for a review on PR #13089.
alexcrichton requested fitzgen for a review on PR #13089.
alexcrichton requested wasmtime-default-reviewers for a review on PR #13089.
fitzgen submitted PR review.
alexcrichton has enabled auto merge for PR #13089.
alexcrichton added PR #13089 Optimize runtime of test-artifacts build script to the merge queue.
alexcrichton merged PR #13089.
alexcrichton removed PR #13089 Optimize runtime of test-artifacts build script from the merge queue.
Last updated: May 03 2026 at 22:13 UTC