{"action":"opened","number":5549,"pull_request":{"url":"https://api.github.com/repos/bazelbuild/bazel/pulls/5549","id":200084860,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwMDg0ODYw","html_url":"https://github.com/bazelbuild/bazel/pull/5549","diff_url":"https://github.com/bazelbuild/bazel/pull/5549.diff","patch_url":"https://github.com/bazelbuild/bazel/pull/5549.patch","issue_url":"https://api.github.com/repos/bazelbuild/bazel/issues/5549","number":5549,"state":"open","locked":false,"title":"[CROSSTOOL] Implement disable_exceptions and disable_rtti","user":{"login":"rongjiecomputer","id":13115060,"node_id":"MDQ6VXNlcjEzMTE1MDYw","avatar_url":"https://avatars2.githubusercontent.com/u/13115060?v=4","gravatar_id":"","url":"https://api.github.com/users/rongjiecomputer","html_url":"https://github.com/rongjiecomputer","followers_url":"https://api.github.com/users/rongjiecomputer/followers","following_url":"https://api.github.com/users/rongjiecomputer/following{/other_user}","gists_url":"https://api.github.com/users/rongjiecomputer/gists{/gist_id}","starred_url":"https://api.github.com/users/rongjiecomputer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rongjiecomputer/subscriptions","organizations_url":"https://api.github.com/users/rongjiecomputer/orgs","repos_url":"https://api.github.com/users/rongjiecomputer/repos","events_url":"https://api.github.com/users/rongjiecomputer/events{/privacy}","received_events_url":"https://api.github.com/users/rongjiecomputer/received_events","type":"User","site_admin":false},"body":"Implement `disable_exceptions` and `disable_rtti` in Java and CROSSTOOL (similar to how `static_link_msvc` is implemented).\r\n\r\nI deliberately add `_impl` suffix to 4 `feature`s that actually compiler flags to signify that they are implementation details and users should not directly enable/disable them.\r\n\r\nExample usage:\r\n\r\n```\r\nbazel build --features=disable_exceptions //lib:a\r\n# lib/BUILD\r\ncc_library(name = \"a\", features = [\"-disable_exceptions\"]) # I really need C++ exceptions\r\ncc_library(name = \"b\")\r\n```\r\n\r\n/cc @mhlopko @meteorcloudy ","created_at":"2018-07-09T12:33:40Z","updated_at":"2018-07-09T12:33:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bazelbuild/bazel/pulls/5549/commits","review_comments_url":"https://api.github.com/repos/bazelbuild/bazel/pulls/5549/comments","review_comment_url":"https://api.github.com/repos/bazelbuild/bazel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bazelbuild/bazel/issues/5549/comments","statuses_url":"https://api.github.com/repos/bazelbuild/bazel/statuses/eeeac7d4e62d23b59d7bfed4de9cf8714b1d55b3","head":{"label":"rongjiecomputer:exception-rtti","ref":"exception-rtti","sha":"eeeac7d4e62d23b59d7bfed4de9cf8714b1d55b3","user":{"login":"rongjiecomputer","id":13115060,"node_id":"MDQ6VXNlcjEzMTE1MDYw","avatar_url":"https://avatars2.githubusercontent.com/u/13115060?v=4","gravatar_id":"","url":"https://api.github.com/users/rongjiecomputer","html_url":"https://github.com/rongjiecomputer","followers_url":"https://api.github.com/users/rongjiecomputer/followers","following_url":"https://api.github.com/users/rongjiecomputer/following{/other_user}","gists_url":"https://api.github.com/users/rongjiecomputer/gists{/gist_id}","starred_url":"https://api.github.com/users/rongjiecomputer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rongjiecomputer/subscriptions","organizations_url":"https://api.github.com/users/rongjiecomputer/orgs","repos_url":"https://api.github.com/users/rongjiecomputer/repos","events_url":"https://api.github.com/users/rongjiecomputer/events{/privacy}","received_events_url":"https://api.github.com/users/rongjiecomputer/received_events","type":"User","site_admin":false},"repo":{"id":113166219,"node_id":"MDEwOlJlcG9zaXRvcnkxMTMxNjYyMTk=","name":"bazel","full_name":"rongjiecomputer/bazel","owner":{"login":"rongjiecomputer","id":13115060,"node_id":"MDQ6VXNlcjEzMTE1MDYw","avatar_url":"https://avatars2.githubusercontent.com/u/13115060?v=4","gravatar_id":"","url":"https://api.github.com/users/rongjiecomputer","html_url":"https://github.com/rongjiecomputer","followers_url":"https://api.github.com/users/rongjiecomputer/followers","following_url":"https://api.github.com/users/rongjiecomputer/following{/other_user}","gists_url":"https://api.github.com/users/rongjiecomputer/gists{/gist_id}","starred_url":"https://api.github.com/users/rongjiecomputer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rongjiecomputer/subscriptions","organizations_url":"https://api.github.com/users/rongjiecomputer/orgs","repos_url":"https://api.github.com/users/rongjiecomputer/repos","events_url":"https://api.github.com/users/rongjiecomputer/events{/privacy}","received_events_url":"https://api.github.com/users/rongjiecomputer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rongjiecomputer/bazel","description":"a fast, scalable, multi-language and extensible build system","fork":true,"url":"https://api.github.com/repos/rongjiecomputer/bazel","forks_url":"https://api.github.com/repos/rongjiecomputer/bazel/forks","keys_url":"https://api.github.com/repos/rongjiecomputer/bazel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rongjiecomputer/bazel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rongjiecomputer/bazel/teams","hooks_url":"https://api.github.com/repos/rongjiecomputer/bazel/hooks","issue_events_url":"https://api.github.com/repos/rongjiecomputer/bazel/issues/events{/number}","events_url":"https://api.github.com/repos/rongjiecomputer/bazel/events","assignees_url":"https://api.github.com/repos/rongjiecomputer/bazel/assignees{/user}","branches_url":"https://api.github.com/repos/rongjiecomputer/bazel/branches{/branch}","tags_url":"https://api.github.com/repos/rongjiecomputer/bazel/tags","blobs_url":"https://api.github.com/repos/rongjiecomputer/bazel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rongjiecomputer/bazel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rongjiecomputer/bazel/git/refs{/sha}","trees_url":"https://api.github.com/repos/rongjiecomputer/bazel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rongjiecomputer/bazel/statuses/{sha}","languages_url":"https://api.github.com/repos/rongjiecomputer/bazel/languages","stargazers_url":"https://api.github.com/repos/rongjiecomputer/bazel/stargazers","contributors_url":"https://api.github.com/repos/rongjiecomputer/bazel/contributors","subscribers_url":"https://api.github.com/repos/rongjiecomputer/bazel/subscribers","subscription_url":"https://api.github.com/repos/rongjiecomputer/bazel/subscription","commits_url":"https://api.github.com/repos/rongjiecomputer/bazel/commits{/sha}","git_commits_url":"https://api.github.com/repos/rongjiecomputer/bazel/git/commits{/sha}","comments_url":"https://api.github.com/repos/rongjiecomputer/bazel/comments{/number}","issue_comment_url":"https://api.github.com/repos/rongjiecomputer/bazel/issues/comments{/number}","contents_url":"https://api.github.com/repos/rongjiecomputer/bazel/contents/{+path}","compare_url":"https://api.github.com/repos/rongjiecomputer/bazel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rongjiecomputer/bazel/merges","archive_url":"https://api.github.com/repos/rongjiecomputer/bazel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rongjiecomputer/bazel/downloads","issues_url":"https://api.github.com/repos/rongjiecomputer/bazel/issues{/number}","pulls_url":"https://api.github.com/repos/rongjiecomputer/bazel/pulls{/number}","milestones_url":"https://api.github.com/repos/rongjiecomputer/bazel/milestones{/number}","notifications_url":"https://api.github.com/repos/rongjiecomputer/bazel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rongjiecomputer/bazel/labels{/name}","releases_url":"https://api.github.com/repos/rongjiecomputer/bazel/releases{/id}","deployments_url":"https://api.github.com/repos/rongjiecomputer/bazel/deployments","created_at":"2017-12-05T10:12:52Z","updated_at":"2018-07-09T12:07:26Z","pushed_at":"2018-07-09T12:24:07Z","git_url":"git://github.com/rongjiecomputer/bazel.git","ssh_url":"git@github.com:rongjiecomputer/bazel.git","clone_url":"https://github.com/rongjiecomputer/bazel.git","svn_url":"https://github.com/rongjiecomputer/bazel","homepage":"https://bazel.build","size":471921,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bazelbuild:master","ref":"master","sha":"e315479b59d5d31a7157e6764ae0f915b098f224","user":{"login":"bazelbuild","id":11684617,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNjg0NjE3","avatar_url":"https://avatars1.githubusercontent.com/u/11684617?v=4","gravatar_id":"","url":"https://api.github.com/users/bazelbuild","html_url":"https://github.com/bazelbuild","followers_url":"https://api.github.com/users/bazelbuild/followers","following_url":"https://api.github.com/users/bazelbuild/following{/other_user}","gists_url":"https://api.github.com/users/bazelbuild/gists{/gist_id}","starred_url":"https://api.github.com/users/bazelbuild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bazelbuild/subscriptions","organizations_url":"https://api.github.com/users/bazelbuild/orgs","repos_url":"https://api.github.com/users/bazelbuild/repos","events_url":"https://api.github.com/users/bazelbuild/events{/privacy}","received_events_url":"https://api.github.com/users/bazelbuild/received_events","type":"Organization","site_admin":false},"repo":{"id":20773773,"node_id":"MDEwOlJlcG9zaXRvcnkyMDc3Mzc3Mw==","name":"bazel","full_name":"bazelbuild/bazel","owner":{"login":"bazelbuild","id":11684617,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNjg0NjE3","avatar_url":"https://avatars1.githubusercontent.com/u/11684617?v=4","gravatar_id":"","url":"https://api.github.com/users/bazelbuild","html_url":"https://github.com/bazelbuild","followers_url":"https://api.github.com/users/bazelbuild/followers","following_url":"https://api.github.com/users/bazelbuild/following{/other_user}","gists_url":"https://api.github.com/users/bazelbuild/gists{/gist_id}","starred_url":"https://api.github.com/users/bazelbuild/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bazelbuild/subscriptions","organizations_url":"https://api.github.com/users/bazelbuild/orgs","repos_url":"https://api.github.com/users/bazelbuild/repos","events_url":"https://api.github.com/users/bazelbuild/events{/privacy}","received_events_url":"https://api.github.com/users/bazelbuild/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bazelbuild/bazel","description":"a fast, scalable, multi-language and extensible build system","fork":false,"url":"https://api.github.com/repos/bazelbuild/bazel","forks_url":"https://api.github.com/repos/bazelbuild/bazel/forks","keys_url":"https://api.github.com/repos/bazelbuild/bazel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bazelbuild/bazel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bazelbuild/bazel/teams","hooks_url":"https://api.github.com/repos/bazelbuild/bazel/hooks","issue_events_url":"https://api.github.com/repos/bazelbuild/bazel/issues/events{/number}","events_url":"https://api.github.com/repos/bazelbuild/bazel/events","assignees_url":"https://api.github.com/repos/bazelbuild/bazel/assignees{/user}","branches_url":"https://api.github.com/repos/bazelbuild/bazel/branches{/branch}","tags_url":"https://api.github.com/repos/bazelbuild/bazel/tags","blobs_url":"https://api.github.com/repos/bazelbuild/bazel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bazelbuild/bazel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bazelbuild/bazel/git/refs{/sha}","trees_url":"https://api.github.com/repos/bazelbuild/bazel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bazelbuild/bazel/statuses/{sha}","languages_url":"https://api.github.com/repos/bazelbuild/bazel/languages","stargazers_url":"https://api.github.com/repos/bazelbuild/bazel/stargazers","contributors_url":"https://api.github.com/repos/bazelbuild/bazel/contributors","subscribers_url":"https://api.github.com/repos/bazelbuild/bazel/subscribers","subscription_url":"https://api.github.com/repos/bazelbuild/bazel/subscription","commits_url":"https://api.github.com/repos/bazelbuild/bazel/commits{/sha}","git_commits_url":"https://api.github.com/repos/bazelbuild/bazel/git/commits{/sha}","comments_url":"https://api.github.com/repos/bazelbuild/bazel/comments{/number}","issue_comment_url":"https://api.github.com/repos/bazelbuild/bazel/issues/comments{/number}","contents_url":"https://api.github.com/repos/bazelbuild/bazel/contents/{+path}","compare_url":"https://api.github.com/repos/bazelbuild/bazel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bazelbuild/bazel/merges","archive_url":"https://api.github.com/repos/bazelbuild/bazel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bazelbuild/bazel/downloads","issues_url":"https://api.github.com/repos/bazelbuild/bazel/issues{/number}","pulls_url":"https://api.github.com/repos/bazelbuild/bazel/pulls{/number}","milestones_url":"https://api.github.com/repos/bazelbuild/bazel/milestones{/number}","notifications_url":"https://api.github.com/repos/bazelbuild/bazel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bazelbuild/bazel/labels{/name}","releases_url":"https://api.github.com/repos/bazelbuild/bazel/releases{/id}","deployments_url":"https://api.github.com/repos/bazelbuild/bazel/deployments","created_at":"2014-06-12T16:00:38Z","updated_at":"2018-07-09T12:01:44Z","pushed_at":"2018-07-09T12:16:09Z","git_url":"git://github.com/bazelbuild/bazel.git","ssh_url":"git@github.com:bazelbuild/bazel.git","clone_url":"https://github.com/bazelbuild/bazel.git","svn_url":"https://github.com/bazelbuild/bazel","homepage":"https://bazel.build","size":469641,"stargazers_count":9366,"watchers_count":9366,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1471,"mirror_url":null,"archived":false,"open_issues_count":1422,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1471,"open_issues":1422,"watchers":9366,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bazelbuild/bazel/pulls/5549"},"html":{"href":"https://github.com/bazelbuild/bazel/pull/5549"},"issue":{"href":"https://api.github.com/repos/bazelbuild/bazel/issues/5549"},"comments":{"href":"https://api.github.com/repos/bazelbuild/bazel/issues/5549/comments"},"review_comments":{"href":"https://api.github.com/repos/bazelbuild/bazel/pulls/5549/comments"},"review_comment":{"href":"https://api.github.com/repos/bazelbuild/bazel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bazelbuild/bazel/pulls/5549/commits"},"statuses":{"href":"https://api.github.com/repos/bazelbuild/bazel/statuses/eeeac7d4e62d23b59d7bfed4de9cf8714b1d55b3"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":97,"deletions":3,"changed_files":3}}
{"actor":{"display_login":"rongjiecomputer"}}