{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/22026","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/22026/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/22026/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/22026/events","html_url":"https://github.com/rust-lang/rust/pull/22026","id":56883054,"number":22026,"title":"Use a crate attribute to load plugins","user":{"login":"kmcallister","id":444997,"avatar_url":"https://avatars.githubusercontent.com/u/444997?v=3","gravatar_id":"","url":"https://api.github.com/users/kmcallister","html_url":"https://github.com/kmcallister","followers_url":"https://api.github.com/users/kmcallister/followers","following_url":"https://api.github.com/users/kmcallister/following{/other_user}","gists_url":"https://api.github.com/users/kmcallister/gists{/gist_id}","starred_url":"https://api.github.com/users/kmcallister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmcallister/subscriptions","organizations_url":"https://api.github.com/users/kmcallister/orgs","repos_url":"https://api.github.com/users/kmcallister/repos","events_url":"https://api.github.com/users/kmcallister/events{/privacy}","received_events_url":"https://api.github.com/users/kmcallister/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"sfackler","id":1455697,"avatar_url":"https://avatars.githubusercontent.com/u/1455697?v=3","gravatar_id":"","url":"https://api.github.com/users/sfackler","html_url":"https://github.com/sfackler","followers_url":"https://api.github.com/users/sfackler/followers","following_url":"https://api.github.com/users/sfackler/following{/other_user}","gists_url":"https://api.github.com/users/sfackler/gists{/gist_id}","starred_url":"https://api.github.com/users/sfackler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfackler/subscriptions","organizations_url":"https://api.github.com/users/sfackler/orgs","repos_url":"https://api.github.com/users/sfackler/repos","events_url":"https://api.github.com/users/sfackler/events{/privacy}","received_events_url":"https://api.github.com/users/sfackler/received_events","type":"User","site_admin":false},"milestone":null,"comments":12,"created_at":"2015-02-06T23:32:02Z","updated_at":"2015-02-10T04:13:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/22026","html_url":"https://github.com/rust-lang/rust/pull/22026","diff_url":"https://github.com/rust-lang/rust/pull/22026.diff","patch_url":"https://github.com/rust-lang/rust/pull/22026.patch"},"body":"```rust\r\n#[plugin] #[no_link] extern crate bleh;\r\n```\r\n\r\nbecomes a crate attribute\r\n\r\n```rust\r\n#![plugin(bleh)]\r\n```\r\n\r\nThe feature gate is still required.\r\n\r\nIt's almost never correct to link a plugin into the resulting library / executable, because it will bring all of libsyntax and librustc with it. However if you really want this behavior, you can get it with a separate `extern crate` item in addition to the `plugin` attribute.\r\n\r\nFixes #21043.\r\nFixes #20769.\r\n\r\n[breaking-change]"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/73641652","html_url":"https://github.com/rust-lang/rust/pull/22026#issuecomment-73641652","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/22026","id":73641652,"user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T04:13:59Z","updated_at":"2015-02-10T04:13:59Z","body":"@bors: retry"}}