{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/39915","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/39915/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/39915/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/39915/events","html_url":"https://github.com/rust-lang/rust/issues/39915","id":208538484,"node_id":"MDU6SXNzdWUyMDg1Mzg0ODQ=","number":39915,"title":"Linking with LLD","user":{"login":"bstrie","id":865233,"node_id":"MDQ6VXNlcjg2NTIzMw==","avatar_url":"https://avatars2.githubusercontent.com/u/865233?v=4","gravatar_id":"","url":"https://api.github.com/users/bstrie","html_url":"https://github.com/bstrie","followers_url":"https://api.github.com/users/bstrie/followers","following_url":"https://api.github.com/users/bstrie/following{/other_user}","gists_url":"https://api.github.com/users/bstrie/gists{/gist_id}","starred_url":"https://api.github.com/users/bstrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bstrie/subscriptions","organizations_url":"https://api.github.com/users/bstrie/orgs","repos_url":"https://api.github.com/users/bstrie/repos","events_url":"https://api.github.com/users/bstrie/events{/privacy}","received_events_url":"https://api.github.com/users/bstrie/received_events","type":"User","site_admin":false},"labels":[{"id":37547,"node_id":"MDU6TGFiZWwzNzU0Nw==","url":"https://api.github.com/repos/rust-lang/rust/labels/A-linkage","name":"A-linkage","color":"d7e102","default":false},{"id":630652267,"node_id":"MDU6TGFiZWw2MzA2NTIyNjc=","url":"https://api.github.com/repos/rust-lang/rust/labels/C-feature-request","name":"C-feature-request","color":"f5f1fd","default":false},{"id":64037154,"node_id":"MDU6TGFiZWw2NDAzNzE1NA==","url":"https://api.github.com/repos/rust-lang/rust/labels/I-compiletime","name":"I-compiletime","color":"e11d21","default":false},{"id":211668100,"node_id":"MDU6TGFiZWwyMTE2NjgxMDA=","url":"https://api.github.com/repos/rust-lang/rust/labels/T-compiler","name":"T-compiler","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":48,"created_at":"2017-02-17T19:49:03Z","updated_at":"2018-06-28T05:52:48Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"LLVM 4.0 is shipping with LLD enabled, though AFAIK it is not yet production-ready on all platforms. I believe we've got an LLVM upgrade planned soon to resolve AVR/emscripten problems anyway, so now's the time to start determining what we might need to do to support it, how it impacts compiler performance/binary size/runtime performance compared to our usual linkers, and what platforms on which we might want to enable it by default."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/400918730","html_url":"https://github.com/rust-lang/rust/issues/39915#issuecomment-400918730","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/39915","id":400918730,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDkxODczMA==","user":{"login":"alexcrichton","id":64996,"node_id":"MDQ6VXNlcjY0OTk2","avatar_url":"https://avatars1.githubusercontent.com/u/64996?v=4","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":"2018-06-28T05:52:48Z","updated_at":"2018-06-28T05:52:48Z","author_association":"MEMBER","body":"Er https://github.com/rust-lang/rust/issues/50584#issuecomment-400918647 is more appropriate here:\r\n\r\n---\r\n\r\nThe next step for stabilizing LLD would be to get a flag, like -Z linker-flavor=lld, working for all targets (Windows + Mac + Linux). It'd do whatever it needs to do to work across the various platforms.\r\n\r\nOnce that's done we can advertise it to the community, asking for feedback. Here we can gain both timing information as well as bug reports to send to LLD. If everything goes smoothly (which is sort of doubtful with a whole brand new linker, but hey you never know!) we can turn it on by default, otherwise we can work to stabilize the selection of LLD and then add an option to Cargo.toml so projects can at least opt-in to it."}}
{"actor":{"display_login":"alexcrichton"}}