coeuvre / rust-2048

A 2048 clone with Piston game engine
MIT License
237 stars 40 forks source link

build failed rustc 1.10.0 #19

Open ghost opened 8 years ago

ghost commented 8 years ago
   Compiling crossbeam v0.1.6
   Compiling time v0.1.34
   Compiling libloading v0.2.1
/home/$/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-0.1.6/src/sync/seg_queue.rs:34:29: 34:43 error: transmute called with differently sized types: [usize; 32] (2048 bits) to [std::sync::atomic::AtomicBool; 32] (256 bits) [E0512]
/home/$/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-0.1.6/src/sync/seg_queue.rs:34             ready: unsafe { mem::transmute([0usize; SEG_SIZE]) },
                                                                                                                                  ^~~~~~~~~~~~~~
/home/$/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-0.1.6/src/sync/seg_queue.rs:34:29: 34:43 help: run `rustc --explain E0512` to see a detailed explanation
error: aborting due to previous error
Build failed, waiting for other jobs to finish...
error: Could not compile `crossbeam`.

How to compile?