zee-editor / zee

A modern text editor for the terminal written in Rust
Apache License 2.0
1.48k stars 42 forks source link

Error while installing with cargo #98

Open MathewPhew opened 1 year ago

MathewPhew commented 1 year ago

error[E0080]: evaluation of constant value failed --> /home/dujan/.cargo/registry/src/github.com-1ecc6299db9ec823/ropey-1.4.1/src/tree/mod.rs:74:19 | 74 | const _: [(); 0 - !{ | ___^ 75 | | // Assert alignment. 76 | | const ASSERT: bool = if align_of::() > ARC_COUNT... 77 | | align_of::() + size_of::() ... | 81 | | ASSERT 82 | | } as usize] = []; | |__^ attempt to compute 0_usize - 1_usize, which would overflow

For more information about this error, try rustc --explain E0080. error: could not compile ropey due to previous error warning: build failed, waiting for other jobs to finish... error: failed to compile zee v0.3.2, intermediate artifacts can be found at /tmp/cargo-install9I2Zyc

MathewPhew commented 1 year ago

I just used the "cargo install --locked zee" command. I run Artix Linux with the runit system.

zt15905696693 commented 1 year ago

I ran into the same problem, but was able to install it successfully using nightly version

rirze commented 1 year ago

Ran it without --locked and it compiled fine.