Skip to content

num_cpus::get() == 18446744073709551615 #2

@oh-its-jimjam

Description

@oh-its-jimjam

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).

This is braking a lot of APIs so please treat this as urgent!

I 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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions