{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/471","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/471/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/471/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/471/events","html_url":"https://github.com/rust-lang/rfcs/issues/471","id":49245371,"number":471,"title":"Add support for a no-unwind compiler flag","user":{"login":"Gankro","id":1136864,"avatar_url":"https://avatars.githubusercontent.com/u/1136864?v=3","gravatar_id":"","url":"https://api.github.com/users/Gankro","html_url":"https://github.com/Gankro","followers_url":"https://api.github.com/users/Gankro/followers","following_url":"https://api.github.com/users/Gankro/following{/other_user}","gists_url":"https://api.github.com/users/Gankro/gists{/gist_id}","starred_url":"https://api.github.com/users/Gankro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gankro/subscriptions","organizations_url":"https://api.github.com/users/Gankro/orgs","repos_url":"https://api.github.com/users/Gankro/repos","events_url":"https://api.github.com/users/Gankro/events{/privacy}","received_events_url":"https://api.github.com/users/Gankro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rfcs/labels/A-wishlist","name":"A-wishlist","color":"d7e101"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2014-11-18T15:28:23Z","updated_at":"2016-01-08T12:44:37Z","closed_at":null,"body":"This would reinterpret all `panics` as `aborts`. This has the potential to reduce compilation time, reduce binary size, improve runtime performance, and increase programmer reasoning capacity (an unwind can't smash through this careful unsafe code).\r\n\r\nThe precise technical details are a bit hairy, though. All libraries/binaries involved would likely need to have the same setting for this flag, which would imply two `std` builds per platform. Presumably Cargo will need to support metadata for unwind/no-unwind compatibility of the codebase.\r\n\r\nRegardless there seems to be a lot of support for doing this *eventually*, so here's a formal issue to track this. Maybe someone will be brave enough to write a proper RFC."},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/169989422","html_url":"https://github.com/rust-lang/rfcs/issues/471#issuecomment-169989422","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/471","id":169989422,"user":{"login":"nagisa","id":679122,"avatar_url":"https://avatars.githubusercontent.com/u/679122?v=3","gravatar_id":"","url":"https://api.github.com/users/nagisa","html_url":"https://github.com/nagisa","followers_url":"https://api.github.com/users/nagisa/followers","following_url":"https://api.github.com/users/nagisa/following{/other_user}","gists_url":"https://api.github.com/users/nagisa/gists{/gist_id}","starred_url":"https://api.github.com/users/nagisa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nagisa/subscriptions","organizations_url":"https://api.github.com/users/nagisa/orgs","repos_url":"https://api.github.com/users/nagisa/repos","events_url":"https://api.github.com/users/nagisa/events{/privacy}","received_events_url":"https://api.github.com/users/nagisa/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T12:44:37Z","updated_at":"2016-01-08T12:44:37Z","body":"We have `-C no-landing-pads`, which essentially is what’s being proposed here."}}