{"action":"closed","issue":{"url":"https://api.github.com/repos/seanmonstar/num_cpus/issues/2","labels_url":"https://api.github.com/repos/seanmonstar/num_cpus/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/seanmonstar/num_cpus/issues/2/comments","events_url":"https://api.github.com/repos/seanmonstar/num_cpus/issues/2/events","html_url":"https://github.com/seanmonstar/num_cpus/issues/2","id":68052417,"number":2,"title":"num_cpus::get() == 18446744073709551615","user":{"login":"lambdaburrito","id":11442830,"avatar_url":"https://avatars.githubusercontent.com/u/11442830?v=3","gravatar_id":"","url":"https://api.github.com/users/lambdaburrito","html_url":"https://github.com/lambdaburrito","followers_url":"https://api.github.com/users/lambdaburrito/followers","following_url":"https://api.github.com/users/lambdaburrito/following{/other_user}","gists_url":"https://api.github.com/users/lambdaburrito/gists{/gist_id}","starred_url":"https://api.github.com/users/lambdaburrito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lambdaburrito/subscriptions","organizations_url":"https://api.github.com/users/lambdaburrito/orgs","repos_url":"https://api.github.com/users/lambdaburrito/repos","events_url":"https://api.github.com/users/lambdaburrito/events{/privacy}","received_events_url":"https://api.github.com/users/lambdaburrito/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-13T09:22:15Z","updated_at":"2015-04-13T16:34:00Z","closed_at":"2015-04-13T16:34:00Z","body":"`num_cpus::get()` is totally broken (or my Macbook Air has surpassed the axioms of physics and now has 18,446,744,073,709,551,615 cores). \r\n\r\nThis is braking a lot of APIs so please treat this as urgent! \r\n\r\nI spotted it as I am using nickel.rs and my server wouldn't start and debugged it to find out that Hyper was throwing an arithmetic overflow at `server/mod.rs:90` and it's due to a broken `num_cpus::get()`"}}