{"action":"created","issue":{"url":"https://api.github.com/repos/scala-native/scala-native/issues/1225","repository_url":"https://api.github.com/repos/scala-native/scala-native","labels_url":"https://api.github.com/repos/scala-native/scala-native/issues/1225/labels{/name}","comments_url":"https://api.github.com/repos/scala-native/scala-native/issues/1225/comments","events_url":"https://api.github.com/repos/scala-native/scala-native/issues/1225/events","html_url":"https://github.com/scala-native/scala-native/pull/1225","id":313141792,"number":1225,"title":"Initial changes for supporting both 32 and 64 bit platforms","user":{"login":"shadaj","id":543055,"avatar_url":"https://avatars3.githubusercontent.com/u/543055?v=4","gravatar_id":"","url":"https://api.github.com/users/shadaj","html_url":"https://github.com/shadaj","followers_url":"https://api.github.com/users/shadaj/followers","following_url":"https://api.github.com/users/shadaj/following{/other_user}","gists_url":"https://api.github.com/users/shadaj/gists{/gist_id}","starred_url":"https://api.github.com/users/shadaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadaj/subscriptions","organizations_url":"https://api.github.com/users/shadaj/orgs","repos_url":"https://api.github.com/users/shadaj/repos","events_url":"https://api.github.com/users/shadaj/events{/privacy}","received_events_url":"https://api.github.com/users/shadaj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-11T01:23:11Z","updated_at":"2018-04-11T11:54:29Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/scala-native/scala-native/pulls/1225","html_url":"https://github.com/scala-native/scala-native/pull/1225","diff_url":"https://github.com/scala-native/scala-native/pull/1225.diff","patch_url":"https://github.com/scala-native/scala-native/pull/1225.patch"},"body":"This PR is the first step in bringing support for multiple platforms (32bit/64bit, Intel/ARM) to Scala Native. It introduces a new object `CrossPlatform`, which contains a method `cross3264` for handling different logic on each platform and a type `Cross3264[A, B]` for handling different types on each platform.\r\n\r\nRight now, both of these simply call the 64bit implementation, but in a future PR I hope to split up the Scala Native modules into 32bit and 64bit variations, where the implementation of `CrossPlatform` will be based on the platform being targeted."},"comment":{"url":"https://api.github.com/repos/scala-native/scala-native/issues/comments/380425437","html_url":"https://github.com/scala-native/scala-native/pull/1225#issuecomment-380425437","issue_url":"https://api.github.com/repos/scala-native/scala-native/issues/1225","id":380425437,"user":{"login":"ekrich","id":933058,"avatar_url":"https://avatars1.githubusercontent.com/u/933058?v=4","gravatar_id":"","url":"https://api.github.com/users/ekrich","html_url":"https://github.com/ekrich","followers_url":"https://api.github.com/users/ekrich/followers","following_url":"https://api.github.com/users/ekrich/following{/other_user}","gists_url":"https://api.github.com/users/ekrich/gists{/gist_id}","starred_url":"https://api.github.com/users/ekrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekrich/subscriptions","organizations_url":"https://api.github.com/users/ekrich/orgs","repos_url":"https://api.github.com/users/ekrich/repos","events_url":"https://api.github.com/users/ekrich/events{/privacy}","received_events_url":"https://api.github.com/users/ekrich/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T11:54:29Z","updated_at":"2018-04-11T11:54:29Z","author_association":"CONTRIBUTOR","body":"@shadaj What you have right now looks very understandable. What is the plan to make `CrossPlatform` select 32 vs 64? The CI failed due to `scalafmt`."}}
{"actor":{"display_login":"ekrich"}}