crossbeam-0.1.6 cannot transmute between types of different sizes, or dependently-sized types
jarkkofree opened this issue · 0 comments
jarkkofree commented
Apologies if this isn't the right process. After adding legion as a dependency and building, I get the following error:
Compiling atomic_refcell v0.1.13
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
--> /home/jarkko/.cargo/registry/src/index.crates.io-6f17d22bba15001f/crossbeam-0.1.6/src/sync/seg_queue.rs:34:29
|
34 | ready: unsafe { mem::transmute([0usize; SEG_SIZE]) },
| ^^^^^^^^^^^^^^
|
= note: source type: `[usize; 32]` (2048 bits)
= note: target type: `[AtomicBool; 32]` (256 bits)
For more information about this error, try `rustc --explain E0512`.
error: could not compile `crossbeam` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
Cargo.tml:
[dependencies]
ggez = "0.9.3"
legion = "0.4.0"
parry = "0.1.0"