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

build mode unimplemented #8

Closed
nikomatsakis opened this Issue Sep 1, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@nikomatsakis
Copy link
Owner

nikomatsakis commented Sep 1, 2016

We need to make cargo incremental build work. My idea is roughly that it will do the following:

  • abort if there are untracked .rs files or other things that look like they might affect the build
  • let H be the current head
  • git reset over to the cargo-incremental-build branch (creating it, if necessary)
  • add all outstanding changes and commit into this branch with a msg like "checkpoint"
  • git reset back to H
  • run the build, using some incremental work-directory (which one?)

This should all be fairly straightforward using the git2 API.

@michaelwoerister

This comment has been minimized.

Copy link
Collaborator

michaelwoerister commented Dec 20, 2016

This is implemented modulo bugs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.