Register snapshots
auto merge of #5177 : catamorphism/rust/register-snapshots, r=catamorphism

Note that this throws FreeBSD under the bus. Hopefully we'll pull it back out again soon.