Signed-off-by: Georgy Yakovlev <gyakov...@gentoo.org> --- eclass/cargo.eclass | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index 1a8d665fdad2..9c624d607cdd 100644 --- a/eclass/cargo.eclass +++ b/eclass/cargo.eclass @@ -58,8 +58,15 @@ fi IUSE="${IUSE} debug" -ECARGO_HOME="${WORKDIR}/cargo_home" -ECARGO_VENDOR="${ECARGO_HOME}/gentoo" +# @ECLASS_VARIABLE: ECARGO_HOME +# @DESCRIPTION: +# Directory for CARGO_HOME used by build process. +readonly ECARGO_HOME="${WORKDIR}/cargo_home" + +# @ECLASS_VARIABLE: ECARGO_VENDOR +# @DESCRIPTION: +# Directory for 'cargo vendor' subcommand output. +readonly ECARGO_VENDOR="${ECARGO_HOME}/gentoo" # @ECLASS_VARIABLE: CRATES # @DEFAULT_UNSET -- 2.39.1