cloudhead / rx

👾 Modern and minimalist pixel editor
https://discord.gg/xHggPjfsS9
GNU General Public License v3.0
3.09k stars 109 forks source link

build install fails on mac catalina 10.15.2 #64

Closed jennypollack closed 4 years ago

jennypollack commented 4 years ago

after running cargo install --locked --path . from inside the rx repo folder,

error: `std::vec::Vec::<T>::new` is not yet stable as a const fn
  --> /.cargo/registry/src/github.com-1ecc6299db9ec823/nonempty-0.1.4/src/lib.rs:29:21
   |
29 |         NonEmpty(e, Vec::new())
   |                     ^^^^^^^^^^

error: aborting due to previous error

error: Could not compile `nonempty`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `rx v0.3.2 (/rx)`, intermediate artifacts can be found at `/rx/target`

Caused by:
  build failed

also the instructions in the readme seem to be more thorough than the instructions on the site

cloudhead commented 4 years ago

I think this is just a matter of your rustc version needing an update!

jennypollack commented 4 years ago

woo solved, thanks!