Remove ty_mac
auto merge of #10590 : sanxiyn/rust/ty-mac, r=thestinger