インターネット接続のある計算機で、cargo-profilerのソースをダウンロードしておく
git clone https://github.com/svenstaro/cargo-profiler.gitそこでビルドしておく
cargo buildローカルのリポジトリのアーカイブを作成
cd
tar cvzf cargo.repo.tar.gz ./.cargocargo-profilerのソース一式と、cargo.repo.tar.gzをインストール先の計算機にコピー
インストール先の計算機のホームディレクトリでリポジトリを展開
tar xvzf cargo.repo.tar.gzインストール先で、ソースも展開。そこでオフラインオプション付でビルド
cargo --offline build --releaseインストール
cargo --offline install --path ..bashrcに以下のようなコードを追加してcargo-profilerにパスを通す
export PATH=$PATH:~/.cargo/bin
More than 3 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
00