Skip to content

Conversation

@alexcrichton
Copy link
Member

@alexcrichton alexcrichton commented Aug 20, 2025

Trying to shrink the size of compiled artifacts...

cc bytecodealliance/wasmtime-go#250

Trying to shrink the size of compiled artifacts...

prtest:full
@alexcrichton alexcrichton requested a review from a team as a code owner August 20, 2025 19:21
@alexcrichton alexcrichton requested review from pchickey and removed request for a team August 20, 2025 19:21
alexcrichton added a commit to alexcrichton/wasmtime that referenced this pull request Aug 20, 2025
This is needed to currently shrink our `*.a` artifacts under 100M in
size which is required downstream in the wasmtime-go embedding. Some
testing in bytecodealliance#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 bytecodealliance#11476
@alexcrichton
Copy link
Member Author

Closing in favor of #11483

github-merge-queue bot pushed a commit that referenced this pull request Aug 21, 2025
This is needed to currently shrink our `*.a` artifacts 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
alexcrichton added a commit to alexcrichton/wasmtime that referenced this pull request Aug 21, 2025
This is needed to currently shrink our `*.a` artifacts under 100M in
size which is required downstream in the wasmtime-go embedding. Some
testing in bytecodealliance#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 bytecodealliance#11476
alexcrichton added a commit to alexcrichton/wasmtime that referenced this pull request Aug 21, 2025
This is needed to currently shrink our `*.a` artifacts under 100M in
size which is required downstream in the wasmtime-go embedding. Some
testing in bytecodealliance#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 bytecodealliance#11476
alexcrichton added a commit that referenced this pull request Aug 21, 2025
This is needed to currently shrink our `*.a` artifacts 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
bongjunj pushed a commit to prosyslab/wasmtime that referenced this pull request Oct 20, 2025
This is needed to currently shrink our `*.a` artifacts under 100M in
size which is required downstream in the wasmtime-go embedding. Some
testing in bytecodealliance#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 bytecodealliance#11476
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.

1 participant