rust-mobile / xbuild

Cross compile rust to any platform
478 stars 40 forks source link

`bash: x: command not found` #167

Closed Seldom-SE closed 9 months ago

Seldom-SE commented 9 months ago
[seldom@seldom-endeavour ~]$ cargo install xbuild
    Updating crates.io index
     Ignored package `xbuild v0.2.0` is already installed, use --force to override
[seldom@seldom-endeavour ~]$ x devices
bash: x: command not found

I just installed it through cargo and the x command isn't found. I didn't see any warnings when installing it or anything

Seldom-SE commented 9 months ago

Ok, I found the binary at ~/.cargo/bin/x, so I can work around it, but I'll leave this open in case you want to look into it

dvc94ch commented 9 months ago

You need to add it to PATH. That's required for all binaries installed by cargo.