{"action":"opened","issue":{"url":"https://api.github.com/repos/servo/rust-bindgen/issues/242","repository_url":"https://api.github.com/repos/servo/rust-bindgen","labels_url":"https://api.github.com/repos/servo/rust-bindgen/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/servo/rust-bindgen/issues/242/comments","events_url":"https://api.github.com/repos/servo/rust-bindgen/issues/242/events","html_url":"https://github.com/servo/rust-bindgen/issues/242","id":188963544,"number":242,"title":"Can't find system headers","user":{"login":"dimbleby","id":875184,"avatar_url":"https://avatars.githubusercontent.com/u/875184?v=3","gravatar_id":"","url":"https://api.github.com/users/dimbleby","html_url":"https://github.com/dimbleby","followers_url":"https://api.github.com/users/dimbleby/followers","following_url":"https://api.github.com/users/dimbleby/following{/other_user}","gists_url":"https://api.github.com/users/dimbleby/gists{/gist_id}","starred_url":"https://api.github.com/users/dimbleby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimbleby/subscriptions","organizations_url":"https://api.github.com/users/dimbleby/orgs","repos_url":"https://api.github.com/users/dimbleby/repos","events_url":"https://api.github.com/users/dimbleby/events{/privacy}","received_events_url":"https://api.github.com/users/dimbleby/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-13T10:38:15Z","updated_at":"2016-11-13T10:38:15Z","closed_at":null,"body":"    /usr/include/sys/types.h:146:10: fatal error: 'stddef.h' file not found\r\n    /usr/include/sys/types.h:146:10: fatal error: 'stddef.h' file not found, err: true\r\n\r\nLooks like you go to the trouble of figuring out where to look - https://github.com/servo/rust-bindgen/blob/bdfab643e70df469dd0d163cc91bf48955250735/src/bin/bindgen.rs#L64-L67 - and then forget all about it! - https://github.com/servo/rust-bindgen/blob/bdfab643e70df469dd0d163cc91bf48955250735/src/bin/bindgen.rs#L73.\r\n\r\nI think the fix is simply:\r\n\r\n    -    match builder_from_flags(env::args()) {\r\n    +    match builder_from_flags(bind_args.into_iter()) {\r\n"}}
{"actor":{"display_login":"dimbleby"}}