foundry
foundry copied to clipboard
feat(`releases`): reduce size of foundry binaries
Component
Forge, Cast, Anvil, Chisel
Describe the feature you would like
on macOS, with last week's foundry, I noticed that the foundry binaries are quite large:
du -h ~/.foundry/bin
forge 0.2.0 (7f0f5b4 2024-08-08T00:20:13.526170000Z)
22M ~/.foundry/bin/anvil
44M ~/.foundry/bin/cast
30M ~/.foundry/bin/chisel
66M ~/.foundry/bin/forge
after foundryup, some of them got even bigger:
forge 0.2.0 (3e3b30c 2024-08-15T00:22:08.655383000Z)
23M ~/.foundry/bin/anvil
44M ~/.foundry/bin/cast
31M ~/.foundry/bin/chisel
67M ~/.foundry/bin/forge
This also contributes significantly to the size of docker images that install foundry. Thanks!
Additional context
No response