{"action":"created","issue":{"url":"https://api.github.com/repos/rust-random/rand/issues/669","repository_url":"https://api.github.com/repos/rust-random/rand","labels_url":"https://api.github.com/repos/rust-random/rand/issues/669/labels{/name}","comments_url":"https://api.github.com/repos/rust-random/rand/issues/669/comments","events_url":"https://api.github.com/repos/rust-random/rand/issues/669/events","html_url":"https://github.com/rust-random/rand/issues/669","id":393825185,"node_id":"MDU6SXNzdWUzOTM4MjUxODU=","number":669,"title":"Linking problems with emscripten since 0.6","user":{"login":"svenstaro","id":1664,"node_id":"MDQ6VXNlcjE2NjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1664?v=4","gravatar_id":"","url":"https://api.github.com/users/svenstaro","html_url":"https://github.com/svenstaro","followers_url":"https://api.github.com/users/svenstaro/followers","following_url":"https://api.github.com/users/svenstaro/following{/other_user}","gists_url":"https://api.github.com/users/svenstaro/gists{/gist_id}","starred_url":"https://api.github.com/users/svenstaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svenstaro/subscriptions","organizations_url":"https://api.github.com/users/svenstaro/orgs","repos_url":"https://api.github.com/users/svenstaro/repos","events_url":"https://api.github.com/users/svenstaro/events{/privacy}","received_events_url":"https://api.github.com/users/svenstaro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-24T07:17:20Z","updated_at":"2018-12-24T11:21:51Z","closed_at":null,"author_association":"NONE","body":"This is originally this issue: https://github.com/koute/cargo-web/issues/152\r\n\r\nBasically, since rand 0.6, linking [my project](https://github.com/svenstaro/genact/) doesn't work anymore and outputs a big LLVM error linking error: [build.log](https://github.com/rust-random/rand/files/2706783/build.log)\r\n\r\nThe error says that 128bit registers are being used in the output which isn't available on wasm32. I suspect this is due to the new rand SIMD or 128bit features that have been added since 0.6.\r\n\r\nTo reproduce:\r\n```\r\ngit clone https://github.com/svenstaro/genact.git\r\ncd genact\r\ncargo build --target wasm32-unknown-emscripten\r\n```\r\n\r\nI can ghetto-fix the problem by removing `ac.emit_rustc_version(1, 26);` in `build.rs`.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rust-random/rand/issues/comments/449721644","html_url":"https://github.com/rust-random/rand/issues/669#issuecomment-449721644","issue_url":"https://api.github.com/repos/rust-random/rand/issues/669","id":449721644,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTcyMTY0NA==","user":{"login":"vks","id":33460,"node_id":"MDQ6VXNlcjMzNDYw","avatar_url":"https://avatars2.githubusercontent.com/u/33460?v=4","gravatar_id":"","url":"https://api.github.com/users/vks","html_url":"https://github.com/vks","followers_url":"https://api.github.com/users/vks/followers","following_url":"https://api.github.com/users/vks/following{/other_user}","gists_url":"https://api.github.com/users/vks/gists{/gist_id}","starred_url":"https://api.github.com/users/vks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vks/subscriptions","organizations_url":"https://api.github.com/users/vks/orgs","repos_url":"https://api.github.com/users/vks/repos","events_url":"https://api.github.com/users/vks/events{/privacy}","received_events_url":"https://api.github.com/users/vks/received_events","type":"User","site_admin":false},"created_at":"2018-12-24T11:21:51Z","updated_at":"2018-12-24T11:21:51Z","author_association":"COLLABORATOR","body":"Should this be considered a rustc bug?\n\nOn Mon, Dec 24, 2018, 10:37 Sven-Hendrik Haase <notifications@github.com>\nwrote:\n\n> This is indeed reproducible on this program:\n>\n> fn main() {\n>     let rofl = 1u128;\n>     println!(\"hi {}\", rofl);\n> }\n>\n> Use cargo build --target wasm32-unknown-emscripten.\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/rust-random/rand/issues/669#issuecomment-449709831>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AACCtPU-cn2KkK2tyZlClnEM5TAqhl0Bks5u8KA_gaJpZM4ZgMg3>\n> .\n>\n"}}
{"actor":{"display_login":"vks"}}