nsf / pnoise

Perlin noise benchmark
77 stars 23 forks source link

can't compile rust example #27

Open MarkuBu opened 7 years ago

MarkuBu commented 7 years ago

If I run compile.bash I got an error

error[E0554]: #[feature] may not be used on the stable release channel
  --> test.rs:15:1
   |
15 | #![feature(rand)]
   | ^^^^^^^^^^^^^^^^^

error: aborting due to previous error

I use rustc 1.14.0 (e8a012324 2016-12-16)

nsf commented 7 years ago

Sorry about that, pull requests are welcome.

MarkuBu commented 7 years ago

I'm not familiar enough to fix that issue

nsf commented 7 years ago

Me too, I don't program in rust. :)

MarkuBu commented 7 years ago

It seems that this can't be fixed easily. The "feature" function only exists in the developer version of rustc.

To compile this with the stable you need to create a project with the project manager.

I will try something