mmstick/parallel

0.8 apparently requires rust nightly to compile

sanga opened this issue · 1 comments

sanga commented

At least with rust beta (as of today, 31/12/2016) parallel 0.8 fails to compile with:

 ~/Code  cargo install parallel --force                                                                                                                                                                                                  ✓
    Updating registry `https://github.com/rust-lang/crates.io-index`
   Compiling odds v0.2.25
   Compiling libc v0.2.18
   Compiling permutate v0.2.0
   Compiling num_cpus v1.2.0
   Compiling nodrop v0.1.8
   Compiling arrayvec v0.3.20
   Compiling parallel v0.8.0
error[E0554]: #[feature] may not be used on the beta release channel
 --> /Users/timsampson/.cargo/registry/src/github.com-1ecc6299db9ec823/parallel-0.8.0/src/main.rs:4:1
  |
4 | #![feature(loop_break_value)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0554]: #[feature] may not be used on the beta release channel
 --> /Users/timsampson/.cargo/registry/src/github.com-1ecc6299db9ec823/parallel-0.8.0/src/main.rs:5:1
  |
5 | #![feature(alloc_system)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors

error: failed to compile `parallel v0.8.0`, intermediate artifacts can be found at `/var/folders/k8/92852d8j4qb73d8ch8dzd61c0000gn/T/cargo-install.tyeFy6E9fPpF`

Might be worth mentioning that in the readme

It's now noted, although it has required a nightly compiler for quite some time now.