{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/2446","repository_url":"https://api.github.com/repos/rust-lang/rfcs","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/2446/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/2446/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/2446/events","html_url":"https://github.com/rust-lang/rfcs/issues/2446","id":325924825,"number":2446,"title":"Add `segfault` keyword","user":{"login":"SoniEx2","id":1779619,"avatar_url":"https://avatars2.githubusercontent.com/u/1779619?v=4","gravatar_id":"","url":"https://api.github.com/users/SoniEx2","html_url":"https://github.com/SoniEx2","followers_url":"https://api.github.com/users/SoniEx2/followers","following_url":"https://api.github.com/users/SoniEx2/following{/other_user}","gists_url":"https://api.github.com/users/SoniEx2/gists{/gist_id}","starred_url":"https://api.github.com/users/SoniEx2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SoniEx2/subscriptions","organizations_url":"https://api.github.com/users/SoniEx2/orgs","repos_url":"https://api.github.com/users/SoniEx2/repos","events_url":"https://api.github.com/users/SoniEx2/events{/privacy}","received_events_url":"https://api.github.com/users/SoniEx2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-05-24T00:47:27Z","updated_at":"2018-05-24T01:17:44Z","closed_at":null,"author_association":"NONE","body":"There should be a keyword for easy segfaultation. The main use-case is to make your program segfault at runtime.\r\n\r\nIt's not one of the most common use-cases, but every other systems programming language has an easy to use segfault operation. It seems fairly reasonable to add it to Rust so that Rust stays relevant in the systems programming language category.\r\n\r\nI propose `segfault` be reserved in Rust 2018."},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/391556612","html_url":"https://github.com/rust-lang/rfcs/issues/2446#issuecomment-391556612","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/2446","id":391556612,"user":{"login":"SoniEx2","id":1779619,"avatar_url":"https://avatars2.githubusercontent.com/u/1779619?v=4","gravatar_id":"","url":"https://api.github.com/users/SoniEx2","html_url":"https://github.com/SoniEx2","followers_url":"https://api.github.com/users/SoniEx2/followers","following_url":"https://api.github.com/users/SoniEx2/following{/other_user}","gists_url":"https://api.github.com/users/SoniEx2/gists{/gist_id}","starred_url":"https://api.github.com/users/SoniEx2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SoniEx2/subscriptions","organizations_url":"https://api.github.com/users/SoniEx2/orgs","repos_url":"https://api.github.com/users/SoniEx2/repos","events_url":"https://api.github.com/users/SoniEx2/events{/privacy}","received_events_url":"https://api.github.com/users/SoniEx2/received_events","type":"User","site_admin":false},"created_at":"2018-05-24T01:17:44Z","updated_at":"2018-05-24T01:17:44Z","author_association":"NONE","body":"I have a program at work that \"expects\" the target program to segfault, and restarts it when it does so.\r\n\r\nA non-segfaulting exit is treated as success."}}
{"actor":{"display_login":"SoniEx2"}}