{"action":"opened","issue":{"url":"https://api.github.com/repos/rust-lang-nursery/libc/issues/77","labels_url":"https://api.github.com/repos/rust-lang-nursery/libc/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang-nursery/libc/issues/77/comments","events_url":"https://api.github.com/repos/rust-lang-nursery/libc/issues/77/events","html_url":"https://github.com/rust-lang-nursery/libc/issues/77","id":118858188,"number":77,"title":"netbsd doesn't declare pthread_setname_np, which libstd uses","user":{"login":"skade","id":47542,"avatar_url":"https://avatars.githubusercontent.com/u/47542?v=3","gravatar_id":"","url":"https://api.github.com/users/skade","html_url":"https://github.com/skade","followers_url":"https://api.github.com/users/skade/followers","following_url":"https://api.github.com/users/skade/following{/other_user}","gists_url":"https://api.github.com/users/skade/gists{/gist_id}","starred_url":"https://api.github.com/users/skade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skade/subscriptions","organizations_url":"https://api.github.com/users/skade/orgs","repos_url":"https://api.github.com/users/skade/repos","events_url":"https://api.github.com/users/skade/events{/privacy}","received_events_url":"https://api.github.com/users/skade/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-25T15:19:11Z","updated_at":"2015-11-25T15:19:11Z","closed_at":null,"body":"Cross-Compiling current rustc libstd to libc fails with this (actual target being `x86_64-rumprun-netbsd`:\r\n\r\n```\r\nsrc/libstd/sys/unix/thread.rs:124:13: 124:37 error: unresolved name `libc::pthread_setname_np` [E0425]\r\nsrc/libstd/sys/unix/thread.rs:124             libc::pthread_setname_np(libc::pthread_self(), cname.as_ptr(),\r\n```"}}