mirror of
https://github.com/zdharma-continuum/zinit-annex-rust.git
synced 2026-09-10 04:36:14 -04:00
*atclone-handler: Correctly update the crates
This commit is contained in:
parent
6620c00cbb
commit
c07943b1cb
|
|
@ -133,6 +133,7 @@ if [[ -n "${ZPLG_ICE[cargo]}" ]] {
|
|||
(
|
||||
builtin cd -q "$toml_dir" && {
|
||||
if (( ${+ZPLG_ICE[rustup]} )) {
|
||||
local -x CARGO_HOME="$dir" RUSTUP_HOME="$dir/rustup" PATH="$dir/bin:$PATH"
|
||||
command $dir/bin/cargo update
|
||||
command $dir/bin/cargo build
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue