fix(memory): use writable Rust toolchain directories on Render

This commit is contained in:
moe-berri 2026-09-12 02:02:42 -07:00
parent 94a10d43d3
commit 57d4bbac84

View file

@ -1,5 +1,9 @@
#!/usr/bin/env bash
set -euo pipefail
# Render's preinstalled Rust toolchain directory is read-only. Maturin needs
# writable homes to install the repository's pinned toolchain during uv sync.
export RUSTUP_HOME="$PWD/.memory-pilot-rustup"
export CARGO_HOME="$PWD/.memory-pilot-cargo"
python -m pip install uv==0.11.7
export UV_PROJECT_ENVIRONMENT="$PWD/.memory-pilot-venv"
uv sync --frozen --extra proxy --no-default-groups