Remove cargo config also in .zshenv (#14267)

This commit is contained in:
Liangsheng Yin
2025-12-02 11:31:53 +08:00
committed by GitHub
parent 1f930cd23d
commit 427a19b643

View File

@@ -295,7 +295,7 @@ RUN --mount=type=cache,target=/root/.cache/pip curl --proto '=https' --tlsv1.2 -
&& ulimit -n 65536 && maturin build --release --features vendored-openssl --out dist \
&& python3 -m pip install --force-reinstall dist/*.whl \
&& rm -rf /root/.cargo /root/.rustup target dist ~/.cargo \
&& sed -i '/\.cargo\/env/d' /root/.profile /root/.bashrc 2>/dev/null || true
&& sed -i '/\.cargo\/env/d' /root/.profile /root/.bashrc /root/.zshenv 2>/dev/null || true
# Add yank script