zee-editor/zee

Error while installing with cargo

MathewPhew opened this issue · 3 comments

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

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

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

rirze commented

Ran it without --locked and it compiled fine.