Skip to content

Commit 4273562

Browse files
committed
chore(stacks): add CARGO_HOME env
1 parent ca36bae commit 4273562

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

stacks/rust/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ function build() {
2222
rm -rf /opt/drycc/rust/share /opt/drycc/rust/bin/rustdoc
2323
cp -rf /opt/drycc/rust/* "${DATA_DIR}"
2424
mkdir -p "${DATA_DIR}"/target "${DATA_DIR}"/env
25+
echo "/opt/drycc/rust" > "${DATA_DIR}"/env/CARGO_HOME
2526
echo "/opt/drycc/rust/target" > "${DATA_DIR}"/env/CARGO_TARGET_DIR
2627
cd ..
2728

0 commit comments

Comments
 (0)