Mk/Uses/cargo.mk: Fix install for Rust 2018 edition applications
`cargo install` currently fails with: error: Using `cargo install` to install the binaries for the package in current working directory is no longer supported, use `cargo install --path .` instead. Also see https://github.com/rust-lang/cargo/issues/5327
This commit is contained in:
parent
dea5e56b31
commit
54d5b897b0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=487583
@ -251,6 +251,7 @@ do-build:
|
||||
.if !target(do-install) && ${CARGO_INSTALL:tl} == "yes"
|
||||
do-install:
|
||||
@${CARGO_CARGO_RUN} install \
|
||||
--path . \
|
||||
--root "${STAGEDIR}${PREFIX}" \
|
||||
--verbose \
|
||||
${CARGO_INSTALL_ARGS}
|
||||
|
Loading…
Reference in New Issue
Block a user