{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/6518","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/6518/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/6518/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/6518/events","html_url":"https://github.com/rust-lang/rust/issues/6518","id":14384119,"number":6518,"title":"rustc should open the output file as soon as it starts compiling","user":{"login":"sethfowler","id":492593,"avatar_url":"https://avatars.githubusercontent.com/u/492593?v=3","gravatar_id":"","url":"https://api.github.com/users/sethfowler","html_url":"https://github.com/sethfowler","followers_url":"https://api.github.com/users/sethfowler/followers","following_url":"https://api.github.com/users/sethfowler/following{/other_user}","gists_url":"https://api.github.com/users/sethfowler/gists{/gist_id}","starred_url":"https://api.github.com/users/sethfowler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethfowler/subscriptions","organizations_url":"https://api.github.com/users/sethfowler/orgs","repos_url":"https://api.github.com/users/sethfowler/repos","events_url":"https://api.github.com/users/sethfowler/events{/privacy}","received_events_url":"https://api.github.com/users/sethfowler/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/A-build","name":"A-build","color":"d7e102"},{"url":"https://api.github.com/repos/rust-lang/rust/labels/I-papercut","name":"I-papercut","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2013-05-15T23:18:01Z","updated_at":"2015-03-02T08:17:04Z","closed_at":null,"body":"Consider the following sequence of actions:\r\n\r\n- I run `make`, which runs `rustc`.\r\n- I update a source file while `rustc` is compiling.\r\n- `rustc` finishes compiling.\r\n\r\nWhat I expect is that, if I run `make` again, the changes will get detected and `rustc` will be invoked again. What actually happens is that `make` reports that there's nothing to be done.\r\n\r\nThis is probably because `rustc` is waiting way too long to open the output file, so updates to source files while the compiler's running appear to \"happen before\" the output file from `make`'s point of view."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/76672840","html_url":"https://github.com/rust-lang/rust/issues/6518#issuecomment-76672840","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/6518","id":76672840,"user":{"login":"reem","id":4745181,"avatar_url":"https://avatars.githubusercontent.com/u/4745181?v=3","gravatar_id":"","url":"https://api.github.com/users/reem","html_url":"https://github.com/reem","followers_url":"https://api.github.com/users/reem/followers","following_url":"https://api.github.com/users/reem/following{/other_user}","gists_url":"https://api.github.com/users/reem/gists{/gist_id}","starred_url":"https://api.github.com/users/reem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reem/subscriptions","organizations_url":"https://api.github.com/users/reem/orgs","repos_url":"https://api.github.com/users/reem/repos","events_url":"https://api.github.com/users/reem/events{/privacy}","received_events_url":"https://api.github.com/users/reem/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T08:17:04Z","updated_at":"2015-03-02T08:17:04Z","body":"Visiting for triage. This is still a problem, but it's never happened to me."}}