{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/3199","repository_url":"https://api.github.com/repos/rust-lang/cargo","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/3199/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/3199/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/3199/events","html_url":"https://github.com/rust-lang/cargo/issues/3199","id":182883510,"number":3199,"title":"Cargo recompile when modifying an inner crate","user":{"login":"antoyo","id":584972,"avatar_url":"https://avatars.githubusercontent.com/u/584972?v=3","gravatar_id":"","url":"https://api.github.com/users/antoyo","html_url":"https://github.com/antoyo","followers_url":"https://api.github.com/users/antoyo/followers","following_url":"https://api.github.com/users/antoyo/following{/other_user}","gists_url":"https://api.github.com/users/antoyo/gists{/gist_id}","starred_url":"https://api.github.com/users/antoyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoyo/subscriptions","organizations_url":"https://api.github.com/users/antoyo/orgs","repos_url":"https://api.github.com/users/antoyo/repos","events_url":"https://api.github.com/users/antoyo/events{/privacy}","received_events_url":"https://api.github.com/users/antoyo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-13T19:49:56Z","updated_at":"2016-10-13T20:18:35Z","closed_at":null,"body":"Hello.\r\nLet's say I have a crate `a` and within this crate directory, I have another crate `b`.\r\nThe crate `a` does not depend on crate `b` for some reason (perhaps because crate `b` is loaded at run time).\r\nIf I modify the code of crate `b`, `cargo run` executed on crate `a` will recompile even thought it is useless (remember crate `a` does not depend on `crate `b`).\r\nIt would be nice to avoid this useless compilation in this specific case.\r\n\r\nRunning with `RUST_LOG=cargo::ops::cargo_rustc::fingerprint=info` gives the following:\r\n```\r\nINFO:cargo::ops::cargo_rustc::fingerprint: fingerprint error for project v0.1.0 (file:///path/to/project): profile configuration has changed\r\n```\r\nThanks."},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/253626836","html_url":"https://github.com/rust-lang/cargo/issues/3199#issuecomment-253626836","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/3199","id":253626836,"user":{"login":"antoyo","id":584972,"avatar_url":"https://avatars.githubusercontent.com/u/584972?v=3","gravatar_id":"","url":"https://api.github.com/users/antoyo","html_url":"https://github.com/antoyo","followers_url":"https://api.github.com/users/antoyo/followers","following_url":"https://api.github.com/users/antoyo/following{/other_user}","gists_url":"https://api.github.com/users/antoyo/gists{/gist_id}","starred_url":"https://api.github.com/users/antoyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoyo/subscriptions","organizations_url":"https://api.github.com/users/antoyo/orgs","repos_url":"https://api.github.com/users/antoyo/repos","events_url":"https://api.github.com/users/antoyo/events{/privacy}","received_events_url":"https://api.github.com/users/antoyo/received_events","type":"User","site_admin":false},"created_at":"2016-10-13T20:18:35Z","updated_at":"2016-10-13T20:18:35Z","body":"I don't understand your question.\r\nHere is what I am doing:\r\n```\r\n# Update file in the inne crate.\r\n# In inner crate directory.\r\ncargo build\r\n# In the outer crate directory.\r\ncargo run\r\n```\r\nEverytime I do so, the `cargo run` command rebuilds the project, even thought it is useless since it does not depend on the inner crate (the outer crate loads the inner library .so at run time)."}}
{"actor":{"display_login":"antoyo"}}