mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
Update CARGO_TARGET_DIR
This commit is contained in:
parent
c6a4beaf56
commit
9a12baad35
@ -12,7 +12,10 @@ if [[ "$1" == "--help" || "$1" == "-h" ]]; then
|
||||
echo "usage: $0"
|
||||
fi
|
||||
|
||||
BUILD_DIR=$PWD/target/debug/test_build_base
|
||||
CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-$PWD/target}
|
||||
PROFILE=${PROFILE:-debug}
|
||||
BUILD_DIR=${CARGO_TARGET_DIR}/${PROFILE}/test_build_base
|
||||
|
||||
MY_DIR=$(dirname "$0")
|
||||
cd "$MY_DIR" || exit
|
||||
find . -name '*.rs' -exec ./update-references.sh "$BUILD_DIR" {} +
|
||||
|
Loading…
Reference in New Issue
Block a user