Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Collect input files for crates #1119

Merged
merged 5 commits into from
Nov 15, 2018
Merged

Conversation

Xanewok
Copy link
Member

@Xanewok Xanewok commented Nov 9, 2018

Closes #1110.

@Xanewok
Copy link
Member Author

Xanewok commented Nov 9, 2018

It'd be good to also update the input files while reusing the cached plan and also being able to tell if a recorded Crate is no longer used/valid.

This allows it to bubble up to InitContextAction. This is required,
because action handler ideally shouldn't have access to build internals
and this is something that is updated in a lock-step between builds, so
it seems like a good place to go.
Reverts change made in bdf0d92. There
were some edge cases wrt relative/absolute paths and varying inputs cwd,
so for now don't use the patch and rely on the old logic, instead.
@Xanewok
Copy link
Member Author

Xanewok commented Nov 14, 2018

Reverted the old dirty path heuristic and rebased, I think this should be good to go now.

@Xanewok Xanewok changed the title [WIP] Collect input files for crates Collect input files for crates Nov 14, 2018
@nrc nrc merged commit 750be58 into rust-lang:master Nov 15, 2018
@Xanewok Xanewok deleted the crate-input-files branch November 30, 2018 11:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants