Skip to content

Commit b8deba2

Browse files
Tobias KortkampTobias Kortkamp
Tobias Kortkamp
authored and
Tobias Kortkamp
committed
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 rust-lang/cargo#5327 git-svn-id: svn+ssh://svn.freebsd.org/ports/head@487583 35697150-7ecd-e111-bb59-0022644237b5
1 parent e614693 commit b8deba2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Mk/Uses/cargo.mk

+1
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ do-build:
251251
.if !target(do-install) && ${CARGO_INSTALL:tl} == "yes"
252252
do-install:
253253
@${CARGO_CARGO_RUN} install \
254+
--path . \
254255
--root "${STAGEDIR}${PREFIX}" \
255256
--verbose \
256257
${CARGO_INSTALL_ARGS}

0 commit comments

Comments
 (0)