Skip to content

Commit

Permalink
fix cargo install twoliter
Browse files Browse the repository at this point in the history
Unfortunately the cargo install command does not seem to respect the
rust-toolchain.toml and .cargo/config.toml settings when installing from
a git reference.

rust-lang/cargo#11036

We need to fix this by adding +nightly and specifying -Z bindeps in the
cargo install command for twoliter.
  • Loading branch information
webern committed Sep 18, 2023
1 parent d976ca0 commit 8323260
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/install-twoliter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ else
fi

if [ "${from_source}" = "true" ] ; then
cargo install \
cargo +nightly install \
-Z bindeps \
--locked \
--root "${workdir}" \
--git "${repo}" \
Expand Down

0 comments on commit 8323260

Please sign in to comment.