mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-05 14:11:32 +00:00
fix(workflows): cargo wrapper should try to source .cargo/env if it exists
This commit is contained in:
@ -15,5 +15,10 @@ then
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! command -v cargo > /dev/null && [ -f "${HOME}/.cargo/env" ]
|
||||
then
|
||||
. "${HOME}/.cargo/env"
|
||||
fi
|
||||
|
||||
export CARGO_BUILD_TARGET="${RUST_TARGET}"
|
||||
exec "${CARGO}" "${@}"
|
||||
|
Reference in New Issue
Block a user