Skip to content
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

Cannot compile 2.4.0 #65

Open
GuyWhoKnowsTheGuy opened this issue Feb 2, 2020 · 1 comment
Open

Cannot compile 2.4.0 #65

GuyWhoKnowsTheGuy opened this issue Feb 2, 2020 · 1 comment

Comments

@GuyWhoKnowsTheGuy
Copy link

I cannot compile 2.4.0 on Windows 10. I get the following error

Compiling core_affinity v0.5.9
error[E0606]: casting &mut u64 as *mut u32 is invalid
--> C:\Users\Jerome.cargo\registry\src\github.com-1ecc6299db9ec823\core_affinity-0.5.9\src\lib.rs:258:17
|
258 | &mut process_mask as PDWORD_PTR,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0606]: casting &mut u64 as *mut u32 is invalid
--> C:\Users\Jerome.cargo\registry\src\github.com-1ecc6299db9ec823\core_affinity-0.5.9\src\lib.rs:259:17
|
259 | &mut system_mask as PDWORD_PTR
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Compiling num-rational v0.1.42
error: aborting due to 2 previous errors

For more information about this error, try rustc --explain E0606.
error: could not compile core_affinity.
warning: build failed, waiting for other jobs to finish...
error: build failed

@JohnnyFFM
Copy link
Contributor

what is your rust version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants