Получаю такую ошибку:
$ cargo build --release
error: could not find `Cargo.toml` in `/home/alex` or any parent directory
$ .cargo/bin/cargo build --release
error: could not find `Cargo.toml` in `/home/alex` or any parent directory
Устанавливал по инструкции: https://github.com/alacritty/alacritty/blob/master/INSTALL.md
По пунктам:
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
$ rustup override set stable
$ rustup update stable
$ sudo apt-get install cmake pkg-config libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev python3
$ sudo apt install cargo
К сожалению, не сильно разбираюсь. Я так понимаю в Cargo.toml
должны быть какие-то параметры для корректной работы cargo
? Где их брать? Как сделать правильно, чтобы cargo
заработал?
Спасибо!