{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/33476","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/33476/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/33476/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/33476/events","html_url":"https://github.com/rust-lang/rust/pull/33476","id":153560815,"number":33476,"title":"track incr. comp. dependencies across crates","user":{"login":"nikomatsakis","id":155238,"avatar_url":"https://avatars.githubusercontent.com/u/155238?v=3","gravatar_id":"","url":"https://api.github.com/users/nikomatsakis","html_url":"https://github.com/nikomatsakis","followers_url":"https://api.github.com/users/nikomatsakis/followers","following_url":"https://api.github.com/users/nikomatsakis/following{/other_user}","gists_url":"https://api.github.com/users/nikomatsakis/gists{/gist_id}","starred_url":"https://api.github.com/users/nikomatsakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikomatsakis/subscriptions","organizations_url":"https://api.github.com/users/nikomatsakis/orgs","repos_url":"https://api.github.com/users/nikomatsakis/repos","events_url":"https://api.github.com/users/nikomatsakis/events{/privacy}","received_events_url":"https://api.github.com/users/nikomatsakis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"michaelwoerister","id":1825894,"avatar_url":"https://avatars.githubusercontent.com/u/1825894?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelwoerister","html_url":"https://github.com/michaelwoerister","followers_url":"https://api.github.com/users/michaelwoerister/followers","following_url":"https://api.github.com/users/michaelwoerister/following{/other_user}","gists_url":"https://api.github.com/users/michaelwoerister/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelwoerister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelwoerister/subscriptions","organizations_url":"https://api.github.com/users/michaelwoerister/orgs","repos_url":"https://api.github.com/users/michaelwoerister/repos","events_url":"https://api.github.com/users/michaelwoerister/events{/privacy}","received_events_url":"https://api.github.com/users/michaelwoerister/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2016-05-07T00:08:38Z","updated_at":"2016-05-11T16:39:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/33476","html_url":"https://github.com/rust-lang/rust/pull/33476","diff_url":"https://github.com/rust-lang/rust/pull/33476.diff","patch_url":"https://github.com/rust-lang/rust/pull/33476.patch"},"body":"This PR refactors the compiler's incremental compilation hashing so that it can track dependencies across crates. The main bits are:\r\n\r\n- computing a hash representing the metadata for an item we are emitting\r\n  - we do this by making `MetaData(X)` be the current task while computing metadata for an item\r\n  - this naturally registers reads from any tables and things that we read for that purpose\r\n  - we can then hash all the inputs to those tables\r\n- tracking when we access metadata\r\n  - we do this by registering a read of `MetaData(X)` for each foreign item `X` whose metadata we read\r\n- hashing metadata from foreign items\r\n  - we do this by loading up metadata from a file in the incr. comp. directory\r\n  - if there is no file, we use the SVH for the entire crate\r\n\r\nThere is one very simple test only at this point. The next PR will be focused on expanding out the tests.\r\n\r\nNote that this is based on top of https://github.com/rust-lang/rust/pull/33228\r\n\r\nr? @michaelwoerister "},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/218516952","html_url":"https://github.com/rust-lang/rust/pull/33476#issuecomment-218516952","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/33476","id":218516952,"user":{"login":"michaelwoerister","id":1825894,"avatar_url":"https://avatars.githubusercontent.com/u/1825894?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelwoerister","html_url":"https://github.com/michaelwoerister","followers_url":"https://api.github.com/users/michaelwoerister/followers","following_url":"https://api.github.com/users/michaelwoerister/following{/other_user}","gists_url":"https://api.github.com/users/michaelwoerister/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelwoerister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelwoerister/subscriptions","organizations_url":"https://api.github.com/users/michaelwoerister/orgs","repos_url":"https://api.github.com/users/michaelwoerister/repos","events_url":"https://api.github.com/users/michaelwoerister/events{/privacy}","received_events_url":"https://api.github.com/users/michaelwoerister/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T16:39:52Z","updated_at":"2016-05-11T16:39:52Z","body":"Looking good, r=me with the nits addressed."}}