{"action":"created","issue":{"url":"https://api.github.com/repos/bsteinb/rsmpi/issues/62","repository_url":"https://api.github.com/repos/bsteinb/rsmpi","labels_url":"https://api.github.com/repos/bsteinb/rsmpi/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/bsteinb/rsmpi/issues/62/comments","events_url":"https://api.github.com/repos/bsteinb/rsmpi/issues/62/events","html_url":"https://github.com/bsteinb/rsmpi/issues/62","id":389365750,"node_id":"MDU6SXNzdWUzODkzNjU3NTA=","number":62,"title":"Why are some constants like MPI_REQUEST_NULL statics ?","user":{"login":"gnzlbg","id":904614,"node_id":"MDQ6VXNlcjkwNDYxNA==","avatar_url":"https://avatars0.githubusercontent.com/u/904614?v=4","gravatar_id":"","url":"https://api.github.com/users/gnzlbg","html_url":"https://github.com/gnzlbg","followers_url":"https://api.github.com/users/gnzlbg/followers","following_url":"https://api.github.com/users/gnzlbg/following{/other_user}","gists_url":"https://api.github.com/users/gnzlbg/gists{/gist_id}","starred_url":"https://api.github.com/users/gnzlbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnzlbg/subscriptions","organizations_url":"https://api.github.com/users/gnzlbg/orgs","repos_url":"https://api.github.com/users/gnzlbg/repos","events_url":"https://api.github.com/users/gnzlbg/events{/privacy}","received_events_url":"https://api.github.com/users/gnzlbg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-12-10T15:54:58Z","updated_at":"2018-12-10T18:46:32Z","closed_at":null,"author_association":"NONE","body":"I've noticed that some constants like `MPI_REQUEST_NULL`, `MPI_COMM_WORLD`, etc. are `static mut`s instead of `const`s. Why is this ? In particular, when can I not read their values because it is undefined behavior to do so ? (e.g. before initializing MPI ?)\r\n\r\n`static mut` is almost impossible to use correctly - https://github.com/rust-lang/rust/issues/53639"},"comment":{"url":"https://api.github.com/repos/bsteinb/rsmpi/issues/comments/445926611","html_url":"https://github.com/bsteinb/rsmpi/issues/62#issuecomment-445926611","issue_url":"https://api.github.com/repos/bsteinb/rsmpi/issues/62","id":445926611,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTkyNjYxMQ==","user":{"login":"AndrewGaspar","id":2292643,"node_id":"MDQ6VXNlcjIyOTI2NDM=","avatar_url":"https://avatars1.githubusercontent.com/u/2292643?v=4","gravatar_id":"","url":"https://api.github.com/users/AndrewGaspar","html_url":"https://github.com/AndrewGaspar","followers_url":"https://api.github.com/users/AndrewGaspar/followers","following_url":"https://api.github.com/users/AndrewGaspar/following{/other_user}","gists_url":"https://api.github.com/users/AndrewGaspar/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewGaspar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewGaspar/subscriptions","organizations_url":"https://api.github.com/users/AndrewGaspar/orgs","repos_url":"https://api.github.com/users/AndrewGaspar/repos","events_url":"https://api.github.com/users/AndrewGaspar/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewGaspar/received_events","type":"User","site_admin":false},"created_at":"2018-12-10T18:46:32Z","updated_at":"2018-12-10T18:46:32Z","author_association":"CONTRIBUTOR","body":"Not sure - you'd have to ask the OpenMPI guys. Anything under `ffi` is a pedantic translation from bindgen. I think we generally treat usage of `ffi` as \"at your own caution\" (it DOES require `unsafe` everywhere)."}}
{"actor":{"display_login":"AndrewGaspar"}}