-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enum equality no longer works #3557
Comments
Not sure what the best work around is. Enums are often complicated enough that hand-writing an equality function is a pita. I've been using |
We will need the |
Can this be closed? |
Closing since |
Move sched_getaffinity back to Linux This reverts commit c1a3f8576ea12b0bed68ad3dedf4069ca3d9816f. The shim isn't actually useful for anything, and it is untested on FreeBSD. On Linux it exists solely because std and num_cpus are trying this before falling back to `sysconf`, but on FreeBSD that's not how they work, so there's no reason I can see to have this stub shim on FreeBSD.
With master pulled on Sep 22, 2012 it fails with
failed to find an implementation of trait @core::cmp::Eq for MyEnum
.(I know that this is a known issue, but it's good to formally track it, especially if it isn't fixed for 0.4).
The text was updated successfully, but these errors were encountered: