{"action":"created","comment":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/comments/24180501","id":24180501,"diff_hunk":"@@ -563,6 +563,70 @@ pub mod consts {\n }\n \n /// Constants associated with the current target\n+#[cfg(target_os = \"bitrig\")]\n+pub mod consts {\n+    pub use super::arch_consts::ARCH;\n+\n+    pub const FAMILY: &'static str = \"unix\";\n+\n+    /// A string describing the specific operating system in use: in this\n+    /// case, `bitrig`.\n+    pub const SYSNAME: &'static str = \"bitrig\";\n+\n+    /// Specifies the filename prefix used for shared libraries on this\n+    /// platform: in this case, `lib`.\n+    pub const DLL_PREFIX: &'static str = \"lib\";\n+\n+    /// Specifies the filename suffix used for shared libraries on this\n+    /// platform: in this case, `.so`.\n+    pub const DLL_SUFFIX: &'static str = \".so\";\n+\n+    /// Specifies the file extension used for shared libraries on this\n+    /// platform that goes after the dot: in this case, `so`.\n+    pub const DLL_EXTENSION: &'static str = \"so\";\n+\n+    /// Specifies the filename suffix used for executable binaries on this\n+    /// platform: in this case, the empty string.\n+    pub const EXE_SUFFIX: &'static str = \"\";\n+\n+    /// Specifies the file extension, if any, used for executable binaries\n+    /// on this platform: in this case, the empty string.\n+    pub const EXE_EXTENSION: &'static str = \"\";\n+}\n+\n+/// Constants associated with the current target\n+#[cfg(target_os = \"openbsd\")]","path":"src/libstd/env.rs","position":36,"original_position":36,"commit_id":"afb648c7e34e305646280db6031ad8c6feeabc11","original_commit_id":"afb648c7e34e305646280db6031ad8c6feeabc11","user":{"login":"dhuseby","id":5017470,"avatar_url":"https://avatars.githubusercontent.com/u/5017470?v=3","gravatar_id":"","url":"https://api.github.com/users/dhuseby","html_url":"https://github.com/dhuseby","followers_url":"https://api.github.com/users/dhuseby/followers","following_url":"https://api.github.com/users/dhuseby/following{/other_user}","gists_url":"https://api.github.com/users/dhuseby/gists{/gist_id}","starred_url":"https://api.github.com/users/dhuseby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhuseby/subscriptions","organizations_url":"https://api.github.com/users/dhuseby/orgs","repos_url":"https://api.github.com/users/dhuseby/repos","events_url":"https://api.github.com/users/dhuseby/events{/privacy}","received_events_url":"https://api.github.com/users/dhuseby/received_events","type":"User","site_admin":false},"body":"So Bitrig is a fork of OpenBSD and was broken by the recent env patch.  This fixes that.  I just saw that there is a PR from the OpenBSD maintainer that also fixes this that hasn't landed yet: https://github.com/rust-lang/rust/pull/21964/files ","created_at":"2015-02-05T17:25:16Z","updated_at":"2015-02-05T17:25:16Z","html_url":"https://github.com/rust-lang/rust/pull/21959#discussion_r24180501","pull_request_url":"https://api.github.com/repos/rust-lang/rust/pulls/21959","_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/comments/24180501"},"html":{"href":"https://github.com/rust-lang/rust/pull/21959#discussion_r24180501"},"pull_request":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/21959"}}},"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/21959","id":28704826,"html_url":"https://github.com/rust-lang/rust/pull/21959","diff_url":"https://github.com/rust-lang/rust/pull/21959.diff","patch_url":"https://github.com/rust-lang/rust/pull/21959.patch","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/21959","number":21959,"state":"open","locked":false,"title":"bitrig integration","user":{"login":"dhuseby","id":5017470,"avatar_url":"https://avatars.githubusercontent.com/u/5017470?v=3","gravatar_id":"","url":"https://api.github.com/users/dhuseby","html_url":"https://github.com/dhuseby","followers_url":"https://api.github.com/users/dhuseby/followers","following_url":"https://api.github.com/users/dhuseby/following{/other_user}","gists_url":"https://api.github.com/users/dhuseby/gists{/gist_id}","starred_url":"https://api.github.com/users/dhuseby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhuseby/subscriptions","organizations_url":"https://api.github.com/users/dhuseby/orgs","repos_url":"https://api.github.com/users/dhuseby/repos","events_url":"https://api.github.com/users/dhuseby/events{/privacy}","received_events_url":"https://api.github.com/users/dhuseby/received_events","type":"User","site_admin":false},"body":"This patch adds the necessary pieces to support rust on Bitrig https://bitrig.org","created_at":"2015-02-05T07:43:06Z","updated_at":"2015-02-05T17:25:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ffa46247fb2ceac500e8390b812850f32a6dbc3c","assignee":{"login":"pcwalton","id":157897,"avatar_url":"https://avatars.githubusercontent.com/u/157897?v=3","gravatar_id":"","url":"https://api.github.com/users/pcwalton","html_url":"https://github.com/pcwalton","followers_url":"https://api.github.com/users/pcwalton/followers","following_url":"https://api.github.com/users/pcwalton/following{/other_user}","gists_url":"https://api.github.com/users/pcwalton/gists{/gist_id}","starred_url":"https://api.github.com/users/pcwalton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcwalton/subscriptions","organizations_url":"https://api.github.com/users/pcwalton/orgs","repos_url":"https://api.github.com/users/pcwalton/repos","events_url":"https://api.github.com/users/pcwalton/events{/privacy}","received_events_url":"https://api.github.com/users/pcwalton/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang/rust/pulls/21959/commits","review_comments_url":"https://api.github.com/repos/rust-lang/rust/pulls/21959/comments","review_comment_url":"https://api.github.com/repos/rust-lang/rust/pulls/comments/{number}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/21959/comments","statuses_url":"https://api.github.com/repos/rust-lang/rust/statuses/afb648c7e34e305646280db6031ad8c6feeabc11","head":{"label":"dhuseby:bitrig-support","ref":"bitrig-support","sha":"afb648c7e34e305646280db6031ad8c6feeabc11","user":{"login":"dhuseby","id":5017470,"avatar_url":"https://avatars.githubusercontent.com/u/5017470?v=3","gravatar_id":"","url":"https://api.github.com/users/dhuseby","html_url":"https://github.com/dhuseby","followers_url":"https://api.github.com/users/dhuseby/followers","following_url":"https://api.github.com/users/dhuseby/following{/other_user}","gists_url":"https://api.github.com/users/dhuseby/gists{/gist_id}","starred_url":"https://api.github.com/users/dhuseby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhuseby/subscriptions","organizations_url":"https://api.github.com/users/dhuseby/orgs","repos_url":"https://api.github.com/users/dhuseby/repos","events_url":"https://api.github.com/users/dhuseby/events{/privacy}","received_events_url":"https://api.github.com/users/dhuseby/received_events","type":"User","site_admin":false},"repo":{"id":26330875,"name":"rust","full_name":"dhuseby/rust","owner":{"login":"dhuseby","id":5017470,"avatar_url":"https://avatars.githubusercontent.com/u/5017470?v=3","gravatar_id":"","url":"https://api.github.com/users/dhuseby","html_url":"https://github.com/dhuseby","followers_url":"https://api.github.com/users/dhuseby/followers","following_url":"https://api.github.com/users/dhuseby/following{/other_user}","gists_url":"https://api.github.com/users/dhuseby/gists{/gist_id}","starred_url":"https://api.github.com/users/dhuseby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhuseby/subscriptions","organizations_url":"https://api.github.com/users/dhuseby/orgs","repos_url":"https://api.github.com/users/dhuseby/repos","events_url":"https://api.github.com/users/dhuseby/events{/privacy}","received_events_url":"https://api.github.com/users/dhuseby/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dhuseby/rust","description":"a safe, concurrent, practical language","fork":true,"url":"https://api.github.com/repos/dhuseby/rust","forks_url":"https://api.github.com/repos/dhuseby/rust/forks","keys_url":"https://api.github.com/repos/dhuseby/rust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dhuseby/rust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dhuseby/rust/teams","hooks_url":"https://api.github.com/repos/dhuseby/rust/hooks","issue_events_url":"https://api.github.com/repos/dhuseby/rust/issues/events{/number}","events_url":"https://api.github.com/repos/dhuseby/rust/events","assignees_url":"https://api.github.com/repos/dhuseby/rust/assignees{/user}","branches_url":"https://api.github.com/repos/dhuseby/rust/branches{/branch}","tags_url":"https://api.github.com/repos/dhuseby/rust/tags","blobs_url":"https://api.github.com/repos/dhuseby/rust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dhuseby/rust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dhuseby/rust/git/refs{/sha}","trees_url":"https://api.github.com/repos/dhuseby/rust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dhuseby/rust/statuses/{sha}","languages_url":"https://api.github.com/repos/dhuseby/rust/languages","stargazers_url":"https://api.github.com/repos/dhuseby/rust/stargazers","contributors_url":"https://api.github.com/repos/dhuseby/rust/contributors","subscribers_url":"https://api.github.com/repos/dhuseby/rust/subscribers","subscription_url":"https://api.github.com/repos/dhuseby/rust/subscription","commits_url":"https://api.github.com/repos/dhuseby/rust/commits{/sha}","git_commits_url":"https://api.github.com/repos/dhuseby/rust/git/commits{/sha}","comments_url":"https://api.github.com/repos/dhuseby/rust/comments{/number}","issue_comment_url":"https://api.github.com/repos/dhuseby/rust/issues/comments/{number}","contents_url":"https://api.github.com/repos/dhuseby/rust/contents/{+path}","compare_url":"https://api.github.com/repos/dhuseby/rust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dhuseby/rust/merges","archive_url":"https://api.github.com/repos/dhuseby/rust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dhuseby/rust/downloads","issues_url":"https://api.github.com/repos/dhuseby/rust/issues{/number}","pulls_url":"https://api.github.com/repos/dhuseby/rust/pulls{/number}","milestones_url":"https://api.github.com/repos/dhuseby/rust/milestones{/number}","notifications_url":"https://api.github.com/repos/dhuseby/rust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dhuseby/rust/labels{/name}","releases_url":"https://api.github.com/repos/dhuseby/rust/releases{/id}","created_at":"2014-11-07T17:49:00Z","updated_at":"2015-02-05T07:40:10Z","pushed_at":"2015-02-05T08:55:52Z","git_url":"git://github.com/dhuseby/rust.git","ssh_url":"git@github.com:dhuseby/rust.git","clone_url":"https://github.com/dhuseby/rust.git","svn_url":"https://github.com/dhuseby/rust","homepage":"http://www.rust-lang.org","size":229452,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rust-lang:master","ref":"master","sha":"fa28f023c23ce1c72d8a83478a0263dcc5083078","user":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars.githubusercontent.com/u/5430905?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang","html_url":"https://github.com/rust-lang","followers_url":"https://api.github.com/users/rust-lang/followers","following_url":"https://api.github.com/users/rust-lang/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang/subscriptions","organizations_url":"https://api.github.com/users/rust-lang/orgs","repos_url":"https://api.github.com/users/rust-lang/repos","events_url":"https://api.github.com/users/rust-lang/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":724712,"name":"rust","full_name":"rust-lang/rust","owner":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars.githubusercontent.com/u/5430905?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang","html_url":"https://github.com/rust-lang","followers_url":"https://api.github.com/users/rust-lang/followers","following_url":"https://api.github.com/users/rust-lang/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang/subscriptions","organizations_url":"https://api.github.com/users/rust-lang/orgs","repos_url":"https://api.github.com/users/rust-lang/repos","events_url":"https://api.github.com/users/rust-lang/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rust-lang/rust","description":"a safe, concurrent, practical language","fork":false,"url":"https://api.github.com/repos/rust-lang/rust","forks_url":"https://api.github.com/repos/rust-lang/rust/forks","keys_url":"https://api.github.com/repos/rust-lang/rust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rust-lang/rust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rust-lang/rust/teams","hooks_url":"https://api.github.com/repos/rust-lang/rust/hooks","issue_events_url":"https://api.github.com/repos/rust-lang/rust/issues/events{/number}","events_url":"https://api.github.com/repos/rust-lang/rust/events","assignees_url":"https://api.github.com/repos/rust-lang/rust/assignees{/user}","branches_url":"https://api.github.com/repos/rust-lang/rust/branches{/branch}","tags_url":"https://api.github.com/repos/rust-lang/rust/tags","blobs_url":"https://api.github.com/repos/rust-lang/rust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rust-lang/rust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rust-lang/rust/git/refs{/sha}","trees_url":"https://api.github.com/repos/rust-lang/rust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rust-lang/rust/statuses/{sha}","languages_url":"https://api.github.com/repos/rust-lang/rust/languages","stargazers_url":"https://api.github.com/repos/rust-lang/rust/stargazers","contributors_url":"https://api.github.com/repos/rust-lang/rust/contributors","subscribers_url":"https://api.github.com/repos/rust-lang/rust/subscribers","subscription_url":"https://api.github.com/repos/rust-lang/rust/subscription","commits_url":"https://api.github.com/repos/rust-lang/rust/commits{/sha}","git_commits_url":"https://api.github.com/repos/rust-lang/rust/git/commits{/sha}","comments_url":"https://api.github.com/repos/rust-lang/rust/comments{/number}","issue_comment_url":"https://api.github.com/repos/rust-lang/rust/issues/comments/{number}","contents_url":"https://api.github.com/repos/rust-lang/rust/contents/{+path}","compare_url":"https://api.github.com/repos/rust-lang/rust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rust-lang/rust/merges","archive_url":"https://api.github.com/repos/rust-lang/rust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rust-lang/rust/downloads","issues_url":"https://api.github.com/repos/rust-lang/rust/issues{/number}","pulls_url":"https://api.github.com/repos/rust-lang/rust/pulls{/number}","milestones_url":"https://api.github.com/repos/rust-lang/rust/milestones{/number}","notifications_url":"https://api.github.com/repos/rust-lang/rust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rust-lang/rust/labels{/name}","releases_url":"https://api.github.com/repos/rust-lang/rust/releases{/id}","created_at":"2010-06-16T20:39:03Z","updated_at":"2015-02-05T16:46:44Z","pushed_at":"2015-02-05T15:22:49Z","git_url":"git://github.com/rust-lang/rust.git","ssh_url":"git@github.com:rust-lang/rust.git","clone_url":"https://github.com/rust-lang/rust.git","svn_url":"https://github.com/rust-lang/rust","homepage":"http://www.rust-lang.org","size":463197,"stargazers_count":9222,"watchers_count":9222,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1769,"mirror_url":null,"open_issues_count":1997,"forks":1769,"open_issues":1997,"watchers":9222,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/21959"},"html":{"href":"https://github.com/rust-lang/rust/pull/21959"},"issue":{"href":"https://api.github.com/repos/rust-lang/rust/issues/21959"},"comments":{"href":"https://api.github.com/repos/rust-lang/rust/issues/21959/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/21959/comments"},"review_comment":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/21959/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang/rust/statuses/afb648c7e34e305646280db6031ad8c6feeabc11"}}}}