amethyst / amethyst-starter-2d

Seed project for 2D games
Other
201 stars 42 forks source link

Starter program won't compile #11

Closed cascading-jox closed 5 years ago

cascading-jox commented 5 years ago

I am unable to compile the starter program with cargo run using cargo 1.31.0 and rustc 1.31.1. The error comes from percent-encoding-2.0.0/lib.rs:72 "local variables in const fn are unstable". Using percent-encoding-2.1.0 throws the same error. Link to a copy of the files. Maybe I am missing something as I am quite new to rust, could anyone verify the error?

Best regards, jox

cascading-jox commented 5 years ago

Apparently doing a fresh install doesn't install the latest version of rust (stupid of me to assume that) so running rustup update solves the issue.