alexcrichton opened PR #11483 from alexcrichton:shrink-c-api to bytecodealliance:main:
This is needed to currently shrink our
*.aartifacts under 100M in size which is required downstream in the wasmtime-go embedding. Some testing in #11475 of using full LTO or only building Linux/macOS with 1 CGU shows that this'll likely increase cycle time by ~1 minute. Windows builders are already the slowest release build builders and this is adding 1 minute using 1 CGU vs 2-3 extra minutes for full LTO. Linux/macOS are switched to using full LTO which the CI builders currently have plenty of time for.This shaves 50M off the C API artifacts for Linux which buys a good amount of headroom for future changes.
Closes #11476
<!--
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 abrown for a review on PR #11483.
alexcrichton requested wasmtime-default-reviewers for a review on PR #11483.
alexcrichton commented on PR #11483:
I'll also note that assuming everyone else is ok with this I plan on including this in a 36.0.1 point release tomorrow.
fitzgen submitted PR review.
alexcrichton merged PR #11483.
Last updated: Dec 06 2025 at 07:03 UTC