{"action":"opened","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/2042","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/2042/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/2042/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/2042/events","html_url":"https://github.com/rust-lang/cargo/issues/2042","id":110556984,"number":2042,"title":"Modifying build script overrides does not invalidate build script output","user":{"login":"retep998","id":666308,"avatar_url":"https://avatars.githubusercontent.com/u/666308?v=3","gravatar_id":"","url":"https://api.github.com/users/retep998","html_url":"https://github.com/retep998","followers_url":"https://api.github.com/users/retep998/followers","following_url":"https://api.github.com/users/retep998/following{/other_user}","gists_url":"https://api.github.com/users/retep998/gists{/gist_id}","starred_url":"https://api.github.com/users/retep998/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retep998/subscriptions","organizations_url":"https://api.github.com/users/retep998/orgs","repos_url":"https://api.github.com/users/retep998/repos","events_url":"https://api.github.com/users/retep998/events{/privacy}","received_events_url":"https://api.github.com/users/retep998/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-08T22:50:21Z","updated_at":"2015-10-08T22:50:21Z","closed_at":null,"body":"This can be observed by first compiling a program and seeing that it fails to link, and then writing a build script override to fix the issue. Cargo ignores the override since it already has existing output, and the program continues to fail to link. If `cargo clean` is used and the program is built again, Cargo picks up the override and things work."}}