crossbeam-0.1.6 cannot transmute between types of different sizes, or dependently-sized types
- Ngôn ngữ chính
- Rust
- Star
- 1.7k
- Fork
- 140
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
https://github.com/amethyst/legion/blob/32df916517fa3b3bb5d827d824053bbb128a43be/src/internals/hash.rs#L60C24-L60C24
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"
```
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.