{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/26869","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/26869/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/26869/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/26869/events","html_url":"https://github.com/rust-lang/rust/pull/26869","id":93641665,"number":26869,"title":"msvc: Get codegen-units working","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},"labels":[],"state":"open","locked":false,"assignee":{"login":"nrc","id":762626,"avatar_url":"https://avatars.githubusercontent.com/u/762626?v=3","gravatar_id":"","url":"https://api.github.com/users/nrc","html_url":"https://github.com/nrc","followers_url":"https://api.github.com/users/nrc/followers","following_url":"https://api.github.com/users/nrc/following{/other_user}","gists_url":"https://api.github.com/users/nrc/gists{/gist_id}","starred_url":"https://api.github.com/users/nrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrc/subscriptions","organizations_url":"https://api.github.com/users/nrc/orgs","repos_url":"https://api.github.com/users/nrc/repos","events_url":"https://api.github.com/users/nrc/events{/privacy}","received_events_url":"https://api.github.com/users/nrc/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2015-07-07T22:16:02Z","updated_at":"2015-07-08T22:25:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/26869","html_url":"https://github.com/rust-lang/rust/pull/26869","diff_url":"https://github.com/rust-lang/rust/pull/26869.diff","patch_url":"https://github.com/rust-lang/rust/pull/26869.patch"},"body":"This commit alters the implementation of multiple codegen units slightly to be\r\ncompatible with the MSVC linker. Currently the implementation will take the N\r\nobject files created by each codegen unit and will run `ld -r` to create a new\r\nobject file which is then passed along. The MSVC linker, however, is not able to\r\ndo this operation.\r\n\r\nThe compiler will now no longer attempt to assemble object files together but\r\nwill instead just pass through all the object files as usual. This implies that\r\nrlibs may not contain more than one object file (if the library is compiled with\r\nmore than one codegen unit) and the output of `-C save-temps` will have changed\r\nslightly as object files with the extension `0.o` will not be renamed to `o`\r\nunless requested otherwise."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/119748691","html_url":"https://github.com/rust-lang/rust/pull/26869#issuecomment-119748691","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/26869","id":119748691,"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-07-08T22:25:24Z","updated_at":"2015-07-08T22:25:24Z","body":"@bors: r=nrc 9bc8e6d"}}