Auto merge of #28512 - lfairy:snapshot-pyc, r=alexcrichton
Auto merge of #28512 - lfairy:snapshot-pyc, r=alexcrichton

Closes #28508

r? @brson

GBGamer/rust,graydon/rust,GBGamer/rust,GBGamer/rust,graydon/rust,GBGamer/rust,graydon/rust,GBGamer/rust,aidancully/rust,graydon/rust,graydon/rust,aidancully/rust,aidancully/rust,GBGamer/rust,GBGamer/rust,aidancully/rust,graydon/rust,aidancully/rust,GBGamer/rust,aidancully/rust