rustbuild: Verify sha256 of downloaded nightlies #32902
Labels
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
We should be validating our downloads for two reasons:
To accomplish this let's do two things:
Unfortunately we can't do this in Rust just yet, we'll have to do it in Python or shell out to some system utility. If you've got some Python chops or would like to write a little python, should be a pretty easy bug to get started!
All downloads currently happen in
src/bootstrap/bootstrap.py
, so this'll just be modifying the relevant pieces there. Feel free to reach out to me if you have questions!The text was updated successfully, but these errors were encountered: