xi-frontend / xi-term

A terminal frontend for Xi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cargo run - current package believes it's in a workspace when it's not

rofrol opened this issue · comments

I got this when trying to run:

xi-term (master)$ cargo run --release -- <file>
error: current package believes it's in a workspace when it's not:
current:   /home/roman/personal_projects/rust/vendor/xi-editor/rust/xi-term/Cargo.toml
workspace: /home/roman/personal_projects/rust/vendor/xi-editor/rust/Cargo.toml

this may be fixable by adding `xi-term` to the `workspace.members` array of the manifest located at: /home/roman/personal_projects/rust/vendor/xi-editor/rust/Cargo.toml
Alternatively, to keep it out of the workspace, add the package to the `workspace.exclude` array, or add an empty `[workspace]` table to the package's manifest.

Hello @rofrol and thanks for the report.

It seems that you cloned the xi-term repo under the xi-editor repo. That may be why it's confused.

I'd like to make the installation easier anyway by vendoring xi-editor like gxi does. I'll probably land that this week.