{"action":"opened","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/3252","repository_url":"https://api.github.com/repos/rust-lang/cargo","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/3252/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/3252/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/3252/events","html_url":"https://github.com/rust-lang/cargo/issues/3252","id":187252942,"number":3252,"title":"Modifying a dependency of a target specification should recompile of all the relevant crates / Allow targets to express dependencies","user":{"login":"ppannuto","id":339422,"avatar_url":"https://avatars.githubusercontent.com/u/339422?v=3","gravatar_id":"","url":"https://api.github.com/users/ppannuto","html_url":"https://github.com/ppannuto","followers_url":"https://api.github.com/users/ppannuto/followers","following_url":"https://api.github.com/users/ppannuto/following{/other_user}","gists_url":"https://api.github.com/users/ppannuto/gists{/gist_id}","starred_url":"https://api.github.com/users/ppannuto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppannuto/subscriptions","organizations_url":"https://api.github.com/users/ppannuto/orgs","repos_url":"https://api.github.com/users/ppannuto/repos","events_url":"https://api.github.com/users/ppannuto/events{/privacy}","received_events_url":"https://api.github.com/users/ppannuto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-04T04:46:05Z","updated_at":"2016-11-04T04:46:05Z","closed_at":null,"body":"Similar in spirit to #2616, but one level of indirection further:\r\n\r\nIf I have something like\r\n```\r\n    \"pre-link-args\": [\r\n        \"-mcpu=cortex-m4\", \"-mthumb\",\r\n        \"-mfloat-abi=soft\",\r\n        \"-Wl,-gc-sections\",\r\n        \"-Tlayout.ld\"\r\n    ],\r\n```\r\n\r\nIf I modify the memory map `layout.ld`, I want things to rebuild.\r\n\r\nDetecting all cases where a target specification depends on another file could very well be an intractable problem. It may make more sense to simply add a `dependencies` target option that accepts a list of files that cargo should check to see if a rebuild is necessary."}}
{"actor":{"display_login":"ppannuto"}}