Open pcaversaccio opened 1 year ago
You can use the pre-compiled binaries for your CI, but here's our timings:
cargo b --bins --profile local
In general Rust binaries are slow to compile, even more so when done with optimizations. We can maybe shave off a few minutes on top of that, but this is probably the best you'll get
thanks for the references, and I'm aware of the slow Rust compilation time. All I'm saying is that 30min is still a lot compared to foundryup
and I'm not sure how much can be shaved off, but whatever can be shaved off should be done imo.
Component
Other (please describe)
Describe the feature you would like
The current installation time on Windows OS (i.e. building Foundry from source) is crazy long. In order to replicate the normal installation behaviour, you can run the following GH CI action on any test repo:
For
foundry-cli
,anvil
, andchisel
together you usually have +90mins build time, which is honestly not acceptable. WSL works of course as an alternative, but I would like to still discuss potential remediations here.Additional context
My current local installation time: