Quantcast
Channel: Rust: install locally built executable systemwide - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Rust: install locally built executable systemwide

$
0
0

Suppose I have a successful build:

$ cargo build --release...Finished release [optimized] target(s) in 2m 52s

Is there a way to make it available to the system user right away, without uploading to registry?

With Python, for instance, it looks like this:

myutility $ pip install dist/myutility-0.8.2-py3-none-any.whl --user

myutility goes to cache

/home/user/.local/bin/myutility

and is awailable anywhere:

~ $ myutility --help

How am I supposed to go about something like this with Rust (and cargo)?


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles



Latest Images