{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/rhoot/bgfx-rs/pulls/2","id":89564137,"html_url":"https://github.com/rhoot/bgfx-rs/pull/2","diff_url":"https://github.com/rhoot/bgfx-rs/pull/2.diff","patch_url":"https://github.com/rhoot/bgfx-rs/pull/2.patch","issue_url":"https://api.github.com/repos/rhoot/bgfx-rs/issues/2","number":2,"state":"open","locked":false,"title":"Fix Windows build","user":{"login":"jacobdufault","id":356714,"avatar_url":"https://avatars.githubusercontent.com/u/356714?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobdufault","html_url":"https://github.com/jacobdufault","followers_url":"https://api.github.com/users/jacobdufault/followers","following_url":"https://api.github.com/users/jacobdufault/following{/other_user}","gists_url":"https://api.github.com/users/jacobdufault/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobdufault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobdufault/subscriptions","organizations_url":"https://api.github.com/users/jacobdufault/orgs","repos_url":"https://api.github.com/users/jacobdufault/repos","events_url":"https://api.github.com/users/jacobdufault/events{/privacy}","received_events_url":"https://api.github.com/users/jacobdufault/received_events","type":"User","site_admin":false},"body":"I'm not sure why there were linker errors, but they looked like this. Linking in psapi fixed the issue.\r\n\r\n```\r\nerror: linking with `link.exe` failed: exit code: 1107\r\n  |\r\n  = note: \"C:\\\\Program Files (x86)\\\\Microsoft Visual Studio 14.0\\\\VC\\\\BIN\\\\link.exe\" \"/NOLOGO\" \"/NXCOMPAT\" \"/LARGEADDRESSAWARE\" \"/SAFESEH\" \"/LIBPATH:C:\\\\Program Files (x86)\\\\Rust stable MSVC 1.12\\\\lib\\\\rustlib\\\\i686-pc-windows-msvc\\\\lib\" \"C:\\\\bgfx-rs\\\\target\\\\debug\\\\deps\\\\bgfx-2ca011f929e56a86.0.o\" \"/OUT:C:\\\\bgfx-rs\\\\target\\\\debug\\\\deps\\\\bgfx-2ca011f929e56a86.exe\" \"/OPT:REF,ICF\" \"/DEBUG\" \"/LIBPATH:C:\\\\bgfx-rs\\\\target\\\\debug\\\\deps\" \"/LIBPATH:C\\\\bgfx-rs\\\\bgfx-sys\\\\bgfx\\\\.build\\\\win32_vs2015\\\\bin\" \"/LIBPATH:C:\\\\Program Files (x86)\\\\Rust stable MSVC 1.12\\\\lib\\\\rustlib\\\\i686-pc-windows-msvc\\\\lib\" \"C:\\\\Program Files (x86)\\\\Rust stable MSVC 1.12\\\\lib\\\\rustlib\\\\i686-pc-windows-msvc\\\\lib\\\\libtest-40393716.rlib\" \"C:\\\\bgfx-rs\\\\target\\\\debug\\\\deps\\\\libbgfx_sys.rlib\" \"C:\\\\bgfx-rs\\\\target\\\\debug\\\\deps\\\\liblibc-2b61e37508f49e74.rlib\" \"C:\\\\Program Files (x86)\\\\Rust stable MSVC 1.12\\\\lib\\\\rustlib\\\\i686-pc-windows-msvc\\\\lib\\\\libgetopts-40393716.rlib\" \"C:\\\\bgfx-rs\\\\target\\\\debug\\\\deps\\\\libbitflags-9b3e62f1670341a1.rlib\" \"C:\\\\Program Files (x86)\\\\Rust stable MSVC 1.12\\\\lib\\\\rustlib\\\\i686-pc-windows-msvc\\\\lib\\\\libterm-40393716.rlib\" \"C:\\\\Program Files (x86)\\\\Rust stable MSVC 1.12\\\\lib\\\\rustlib\\\\i686-pc-windows-msvc\\\\lib\\\\libstd-40393716.rlib\" \"C:\\\\Program Files (x86)\\\\Rust stable MSVC 1.12\\\\lib\\\\rustlib\\\\i686-pc-windows-msvc\\\\lib\\\\libpanic_unwind-40393716.rlib\" \"C:\\\\Program Files (x86)\\\\Rust stable MSVC 1.12\\\\lib\\\\rustlib\\\\i686-pc-windows-msvc\\\\lib\\\\libunwind-40393716.rlib\" \"C:\\\\Program Files (x86)\\\\Rust stable MSVC 1.12\\\\lib\\\\rustlib\\\\i686-pc-windows-msvc\\\\lib\\\\librand-40393716.rlib\" \"C:\\\\Program Files (x86)\\\\Rust stable MSVC 1.12\\\\lib\\\\rustlib\\\\i686-pc-windows-msvc\\\\lib\\\\libcollections-40393716.rlib\" \"C:\\\\Program Files (x86)\\\\Rust stable MSVC 1.12\\\\lib\\\\rustlib\\\\i686-pc-windows-msvc\\\\lib\\\\librustc_unicode-40393716.rlib\" \"C:\\\\Program Files (x86)\\\\Rust stable MSVC 1.12\\\\lib\\\\rustlib\\\\i686-pc-windows-msvc\\\\lib\\\\liblibc-40393716.rlib\" \"C:\\\\Program Files (x86)\\\\Rust stable MSVC 1.12\\\\lib\\\\rustlib\\\\i686-pc-windows-msvc\\\\lib\\\\liballoc-40393716.rlib\" \"C:\\\\Program Files (x86)\\\\Rust stable MSVC 1.12\\\\lib\\\\rustlib\\\\i686-pc-windows-msvc\\\\lib\\\\liballoc_system-40393716.rlib\" \"C:\\\\Program Files (x86)\\\\Rust stable MSVC 1.12\\\\lib\\\\rustlib\\\\i686-pc-windows-msvc\\\\lib\\\\libcore-40393716.rlib\" \"gdi32.lib\" \"user32.lib\" \"msvcrt.lib\" \"kernel32.lib\" \"ws2_32.lib\" \"userenv.lib\" \"shell32.lib\" \"advapi32.lib\" \"msvcrt.lib\" \"compiler-rt.lib\"\r\n  = note: libbgfx_sys.rlib(renderer_d3d9.obj) : error LNK2019: unresolved external symbol _GetProcessMemoryInfo@12 referenced in function \"public: virtual void __thiscall bgfx::d3d9::RendererContextD3D9::submit(struct bgfx::Frame *,struct bgfx::ClearQuad &,struct bgfx::TextVideoMemBlitter &)\" (?submit@RendererContextD3D9@d3d9@bgfx@@UAEXPAUFrame@3@AAUClearQuad@3@AAUTextVideoMemBlitter@3@@Z)\r\nlibbgfx_sys.rlib(renderer_d3d11.obj) : error LNK2001: unresolved external symbol _GetProcessMemoryInfo@12\r\nlibbgfx_sys.rlib(renderer_d3d12.obj) : error LNK2001: unresolved external symbol _GetProcessMemoryInfo@12\r\nlibbgfx_sys.rlib(renderer_gl.obj) : error LNK2001: unresolved external symbol _GetProcessMemoryInfo@12\r\nC:\\bgfx-rs\\target\\debug\\deps\\libbitflags-9b3e62f1670341a1.rlib : fatal error LNK1107: invalid or corrupt file: cannot read at 0x389C\r\n```","created_at":"2016-10-17T05:52:05Z","updated_at":"2016-10-17T05:52:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rhoot/bgfx-rs/pulls/2/commits","review_comments_url":"https://api.github.com/repos/rhoot/bgfx-rs/pulls/2/comments","review_comment_url":"https://api.github.com/repos/rhoot/bgfx-rs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rhoot/bgfx-rs/issues/2/comments","statuses_url":"https://api.github.com/repos/rhoot/bgfx-rs/statuses/510e59bae606364cf4f90726034ac620eefa4d31","head":{"label":"jacobdufault:fix-win-build","ref":"fix-win-build","sha":"510e59bae606364cf4f90726034ac620eefa4d31","user":{"login":"jacobdufault","id":356714,"avatar_url":"https://avatars.githubusercontent.com/u/356714?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobdufault","html_url":"https://github.com/jacobdufault","followers_url":"https://api.github.com/users/jacobdufault/followers","following_url":"https://api.github.com/users/jacobdufault/following{/other_user}","gists_url":"https://api.github.com/users/jacobdufault/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobdufault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobdufault/subscriptions","organizations_url":"https://api.github.com/users/jacobdufault/orgs","repos_url":"https://api.github.com/users/jacobdufault/repos","events_url":"https://api.github.com/users/jacobdufault/events{/privacy}","received_events_url":"https://api.github.com/users/jacobdufault/received_events","type":"User","site_admin":false},"repo":{"id":71103788,"name":"bgfx-rs","full_name":"jacobdufault/bgfx-rs","owner":{"login":"jacobdufault","id":356714,"avatar_url":"https://avatars.githubusercontent.com/u/356714?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobdufault","html_url":"https://github.com/jacobdufault","followers_url":"https://api.github.com/users/jacobdufault/followers","following_url":"https://api.github.com/users/jacobdufault/following{/other_user}","gists_url":"https://api.github.com/users/jacobdufault/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobdufault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobdufault/subscriptions","organizations_url":"https://api.github.com/users/jacobdufault/orgs","repos_url":"https://api.github.com/users/jacobdufault/repos","events_url":"https://api.github.com/users/jacobdufault/events{/privacy}","received_events_url":"https://api.github.com/users/jacobdufault/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jacobdufault/bgfx-rs","description":"Rust wrapper around bgfx.","fork":true,"url":"https://api.github.com/repos/jacobdufault/bgfx-rs","forks_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/forks","keys_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/teams","hooks_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/hooks","issue_events_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/issues/events{/number}","events_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/events","assignees_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/assignees{/user}","branches_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/branches{/branch}","tags_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/tags","blobs_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/git/refs{/sha}","trees_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/statuses/{sha}","languages_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/languages","stargazers_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/stargazers","contributors_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/contributors","subscribers_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/subscribers","subscription_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/subscription","commits_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/commits{/sha}","git_commits_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/git/commits{/sha}","comments_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/comments{/number}","issue_comment_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/issues/comments{/number}","contents_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/contents/{+path}","compare_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/merges","archive_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/downloads","issues_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/issues{/number}","pulls_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/pulls{/number}","milestones_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/milestones{/number}","notifications_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/labels{/name}","releases_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/releases{/id}","deployments_url":"https://api.github.com/repos/jacobdufault/bgfx-rs/deployments","created_at":"2016-10-17T05:45:57Z","updated_at":"2016-10-17T05:45:58Z","pushed_at":"2016-10-17T05:49:08Z","git_url":"git://github.com/jacobdufault/bgfx-rs.git","ssh_url":"git@github.com:jacobdufault/bgfx-rs.git","clone_url":"https://github.com/jacobdufault/bgfx-rs.git","svn_url":"https://github.com/jacobdufault/bgfx-rs","homepage":null,"size":1609,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"rhoot:master","ref":"master","sha":"b3bb0e8c416c735f51510cb1c43767b8c38cdbb8","user":{"login":"rhoot","id":1258798,"avatar_url":"https://avatars.githubusercontent.com/u/1258798?v=3","gravatar_id":"","url":"https://api.github.com/users/rhoot","html_url":"https://github.com/rhoot","followers_url":"https://api.github.com/users/rhoot/followers","following_url":"https://api.github.com/users/rhoot/following{/other_user}","gists_url":"https://api.github.com/users/rhoot/gists{/gist_id}","starred_url":"https://api.github.com/users/rhoot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhoot/subscriptions","organizations_url":"https://api.github.com/users/rhoot/orgs","repos_url":"https://api.github.com/users/rhoot/repos","events_url":"https://api.github.com/users/rhoot/events{/privacy}","received_events_url":"https://api.github.com/users/rhoot/received_events","type":"User","site_admin":false},"repo":{"id":49637670,"name":"bgfx-rs","full_name":"rhoot/bgfx-rs","owner":{"login":"rhoot","id":1258798,"avatar_url":"https://avatars.githubusercontent.com/u/1258798?v=3","gravatar_id":"","url":"https://api.github.com/users/rhoot","html_url":"https://github.com/rhoot","followers_url":"https://api.github.com/users/rhoot/followers","following_url":"https://api.github.com/users/rhoot/following{/other_user}","gists_url":"https://api.github.com/users/rhoot/gists{/gist_id}","starred_url":"https://api.github.com/users/rhoot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhoot/subscriptions","organizations_url":"https://api.github.com/users/rhoot/orgs","repos_url":"https://api.github.com/users/rhoot/repos","events_url":"https://api.github.com/users/rhoot/events{/privacy}","received_events_url":"https://api.github.com/users/rhoot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rhoot/bgfx-rs","description":"Rust wrapper around bgfx.","fork":false,"url":"https://api.github.com/repos/rhoot/bgfx-rs","forks_url":"https://api.github.com/repos/rhoot/bgfx-rs/forks","keys_url":"https://api.github.com/repos/rhoot/bgfx-rs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rhoot/bgfx-rs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rhoot/bgfx-rs/teams","hooks_url":"https://api.github.com/repos/rhoot/bgfx-rs/hooks","issue_events_url":"https://api.github.com/repos/rhoot/bgfx-rs/issues/events{/number}","events_url":"https://api.github.com/repos/rhoot/bgfx-rs/events","assignees_url":"https://api.github.com/repos/rhoot/bgfx-rs/assignees{/user}","branches_url":"https://api.github.com/repos/rhoot/bgfx-rs/branches{/branch}","tags_url":"https://api.github.com/repos/rhoot/bgfx-rs/tags","blobs_url":"https://api.github.com/repos/rhoot/bgfx-rs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rhoot/bgfx-rs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rhoot/bgfx-rs/git/refs{/sha}","trees_url":"https://api.github.com/repos/rhoot/bgfx-rs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rhoot/bgfx-rs/statuses/{sha}","languages_url":"https://api.github.com/repos/rhoot/bgfx-rs/languages","stargazers_url":"https://api.github.com/repos/rhoot/bgfx-rs/stargazers","contributors_url":"https://api.github.com/repos/rhoot/bgfx-rs/contributors","subscribers_url":"https://api.github.com/repos/rhoot/bgfx-rs/subscribers","subscription_url":"https://api.github.com/repos/rhoot/bgfx-rs/subscription","commits_url":"https://api.github.com/repos/rhoot/bgfx-rs/commits{/sha}","git_commits_url":"https://api.github.com/repos/rhoot/bgfx-rs/git/commits{/sha}","comments_url":"https://api.github.com/repos/rhoot/bgfx-rs/comments{/number}","issue_comment_url":"https://api.github.com/repos/rhoot/bgfx-rs/issues/comments{/number}","contents_url":"https://api.github.com/repos/rhoot/bgfx-rs/contents/{+path}","compare_url":"https://api.github.com/repos/rhoot/bgfx-rs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rhoot/bgfx-rs/merges","archive_url":"https://api.github.com/repos/rhoot/bgfx-rs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rhoot/bgfx-rs/downloads","issues_url":"https://api.github.com/repos/rhoot/bgfx-rs/issues{/number}","pulls_url":"https://api.github.com/repos/rhoot/bgfx-rs/pulls{/number}","milestones_url":"https://api.github.com/repos/rhoot/bgfx-rs/milestones{/number}","notifications_url":"https://api.github.com/repos/rhoot/bgfx-rs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rhoot/bgfx-rs/labels{/name}","releases_url":"https://api.github.com/repos/rhoot/bgfx-rs/releases{/id}","deployments_url":"https://api.github.com/repos/rhoot/bgfx-rs/deployments","created_at":"2016-01-14T09:39:39Z","updated_at":"2016-09-04T01:39:09Z","pushed_at":"2016-01-26T22:42:33Z","git_url":"git://github.com/rhoot/bgfx-rs.git","ssh_url":"git@github.com:rhoot/bgfx-rs.git","clone_url":"https://github.com/rhoot/bgfx-rs.git","svn_url":"https://github.com/rhoot/bgfx-rs","homepage":null,"size":1609,"stargazers_count":9,"watchers_count":9,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rhoot/bgfx-rs/pulls/2"},"html":{"href":"https://github.com/rhoot/bgfx-rs/pull/2"},"issue":{"href":"https://api.github.com/repos/rhoot/bgfx-rs/issues/2"},"comments":{"href":"https://api.github.com/repos/rhoot/bgfx-rs/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/rhoot/bgfx-rs/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/rhoot/bgfx-rs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rhoot/bgfx-rs/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/rhoot/bgfx-rs/statuses/510e59bae606364cf4f90726034ac620eefa4d31"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"jacobdufault"}}