altsem / gitu

A TUI Git client inspired by Magit
MIT License
1.65k stars 86 forks source link

Compile error on Windows #205

Open clin1234 opened 2 weeks ago

clin1234 commented 2 weeks ago
warning: ignoring -C extra-filename flag due to -o flag

error: Proper syntax: #[display(fmt = "My format", "arg1", "arg2")]
  --> src\ops\editor.rs:80:11
   |
80 | #[display(fmt = _.0)]
   |           ^^^^^^^^^

warning: `gitu` (lib) generated 1 warning
error: could not compile `gitu` (lib) due to 1 previous error; 1 warning emitted
error: failed to compile `gitu v0.21.1 (https://github.com/altsem/gitu.git#43d011c3)`, intermediate artifacts can be found at `C:\Users\0BAC~1\AppData\Local\Temp\cargo-installKWVhHl`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
altsem commented 2 weeks ago

I'd suggest to try the --locked flag