ci: install rust toolchain in ci_install_dependency.sh (#23017)

This commit is contained in:
Alex Nails
2026-04-16 23:18:22 -07:00
committed by GitHub
parent 7390eddf28
commit 43eb66028f
3 changed files with 53 additions and 1 deletions
+6 -1
View File
@@ -149,7 +149,12 @@ fi
# Install protoc
bash "${SCRIPT_DIR}/../utils/install_protoc.sh"
mark_step_done "Python package site hygiene & install protoc"
# Install Rust toolchain (needed by crates built via setuptools-rust, e.g. the
# native gRPC extension bundled into the sglang wheel).
bash "${SCRIPT_DIR}/../utils/install_rustup.sh"
export PATH="${CARGO_HOME:-$HOME/.cargo}/bin:${PATH}"
mark_step_done "Python package site hygiene & install protoc + rust"
# ------------------------------------------------------------------------------
# Pip / uv toolchain & stale package cleanup