{"action":"created","issue":{"url":"https://api.github.com/repos/japaric/xargo/issues/214","repository_url":"https://api.github.com/repos/japaric/xargo","labels_url":"https://api.github.com/repos/japaric/xargo/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/japaric/xargo/issues/214/comments","events_url":"https://api.github.com/repos/japaric/xargo/issues/214/events","html_url":"https://github.com/japaric/xargo/issues/214","id":312917099,"number":214,"title":"Building `alloc` does not work with included compiler_builtins","user":{"login":"phil-opp","id":1131315,"avatar_url":"https://avatars2.githubusercontent.com/u/1131315?v=4","gravatar_id":"","url":"https://api.github.com/users/phil-opp","html_url":"https://github.com/phil-opp","followers_url":"https://api.github.com/users/phil-opp/followers","following_url":"https://api.github.com/users/phil-opp/following{/other_user}","gists_url":"https://api.github.com/users/phil-opp/gists{/gist_id}","starred_url":"https://api.github.com/users/phil-opp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil-opp/subscriptions","organizations_url":"https://api.github.com/users/phil-opp/orgs","repos_url":"https://api.github.com/users/phil-opp/repos","events_url":"https://api.github.com/users/phil-opp/events{/privacy}","received_events_url":"https://api.github.com/users/phil-opp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-10T13:14:40Z","updated_at":"2018-05-06T08:43:05Z","closed_at":null,"author_association":"NONE","body":"The `compiler_builtins` crate is now explicitly injected. When building the `alloc` crate via a `[dependencies.alloc]` key in the `Xargo.toml`, a “multiple matching crates for `compiler_builtins`” error occurs. The reason is that `alloc` defines its [own `compiler_builtins` dependency](https://github.com/rust-lang/rust/blob/67712d79451b042b6fca2167c1a57d91d86f663b/src/liballoc/Cargo.toml). Thus `compiler_builtins` in compiled twice, once as version `0.0.0` and once as version `0.1.0`."},"comment":{"url":"https://api.github.com/repos/japaric/xargo/issues/comments/386863762","html_url":"https://github.com/japaric/xargo/issues/214#issuecomment-386863762","issue_url":"https://api.github.com/repos/japaric/xargo/issues/214","id":386863762,"user":{"login":"phil-opp","id":1131315,"avatar_url":"https://avatars2.githubusercontent.com/u/1131315?v=4","gravatar_id":"","url":"https://api.github.com/users/phil-opp","html_url":"https://github.com/phil-opp","followers_url":"https://api.github.com/users/phil-opp/followers","following_url":"https://api.github.com/users/phil-opp/following{/other_user}","gists_url":"https://api.github.com/users/phil-opp/gists{/gist_id}","starred_url":"https://api.github.com/users/phil-opp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil-opp/subscriptions","organizations_url":"https://api.github.com/users/phil-opp/orgs","repos_url":"https://api.github.com/users/phil-opp/repos","events_url":"https://api.github.com/users/phil-opp/events{/privacy}","received_events_url":"https://api.github.com/users/phil-opp/received_events","type":"User","site_admin":false},"created_at":"2018-05-06T08:43:05Z","updated_at":"2018-05-06T08:43:05Z","author_association":"NONE","body":"I created a simplified fork of xargo at [rust-osdev/cargo-xbuild](https://github.com/rust-osdev/cargo-xbuild), which just always compiles core, compiler_builtins and alloc without configuration ability. The advantage of hard-coding those is that we can hack the alloc compilation so that it uses compiler_builtins with the \"mem\" feature.\r\n\r\n@lachlansneff @robert-w-gries Could you try if this works for you?"}}
{"actor":{"display_login":"phil-opp"}}