Install rustup from submodule again#1118
Conversation
This reverts google#1074. This is not done for hermetic builds but for source integrity.
There was a problem hiding this comment.
Code Review
This pull request integrates rustup as a git submodule (third_party/rust-lang/rustup) and updates the setup, sync, and upgrade scripts to use this local copy instead of downloading it directly. Feedback on these changes includes initializing RUSTUP_ARGS in scripts/setup.sh to prevent environment leakage, replacing a non-portable GNU sed extension in scripts/sync.sh with a portable pattern for BSD/macOS compatibility, and avoiding the use of eval by executing the static curl command directly.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
This reverts #1074.
This is not done for hermetic builds but for source integrity.