Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable incremental caching for faster builds #227

Draft
wants to merge 26 commits into
base: master
Choose a base branch
from

Conversation

jkelleyrtp
Copy link

Dioxus has a pretty huge mono-repo and incremental builds would significantly help speed our CI times up.

This PR implements the strategy ideated in #43 that saves and restores the mtimes for the incremental directory per profile, allowing rustc to re-use the incremental objects.

I have yet to implement a sweep-type solution here, but it seems that cargo does some cleaning of the incremental dir itself so the size shouldn't grow out of control.

I wouldn't merge this until we have a sweep-type solution, but I'm opening this to be able to run tests against the dioxus doc site and mono-repo.

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