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
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 compilecore_affinity
. warning: build failed, waiting for other jobs to finish... error: build failed