noa
noa copied to clipboard
error[E0658]: use of unstable library feature 'int_abs_diff'
$ cargo install --path src/editor
Installing noa v0.0.0 (/home/spantheslayer/noa/src/editor)
Updating crates.io index
Compiling noa_buffer v0.0.0 (/home/spantheslayer/noa/src/buffer)
error[E0658]: use of unstable library feature 'int_abs_diff'
--> src/buffer/syntax.rs:223:30
|
223 | if range.start.x.abs_diff(range.end.x) > WORD_LEN_MAX {
= note: see issue #89492 <https://github.com/rust-lang/rust/issues/89492> for more information
For more information about this error, try rustc --explain E0658.
error: failed to compile noa v0.0.0 (/home/spantheslayer/noa/src/editor), intermediate artifacts can be found at /home/spantheslayer/noa/target
Caused by:
could not compile noa_buffer due to previous error
Tried using unsigned_abs_diff but didnt get any positive result. Can anyone help with it?
Oh I forget to add this line in README. Could you try it again with a nightly Rust?
rustup override set nightly
I think the last rustc version (1.60) stabilized this feature.