atanunq / viu

Terminal image viewer with native support for iTerm and Kitty
MIT License
2.53k stars 56 forks source link

Build failed #58

Closed Marcel-Brouette closed 3 years ago

Marcel-Brouette commented 3 years ago

Hi, I got the following build error :

error[E0658]: `cfg(doctest)` is experimental and subject to change
  --> /home/marcel/.cargo/registry/src/github.com-1ecc6299db9ec823/remove_dir_all-0.5.3/src/lib.rs:12:7
   |
12 | #[cfg(doctest)]
   |       ^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/62210

error[E0658]: `cfg(doctest)` is experimental and subject to change
  --> /home/marcel/.cargo/registry/src/github.com-1ecc6299db9ec823/remove_dir_all-0.5.3/src/lib.rs:16:7
   |
16 | #[cfg(doctest)]
   |       ^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/62210

error: aborting due to 2 previous errors
atanunq commented 3 years ago

Hello, It looks like remove_dir_all is a dependency of tempfile. There exists an issue about the same problem. It seems that using a newer rustc version might fix the problem.

Marcel-Brouette commented 3 years ago

my bad ...