Remove unused automatic cfg bindings Fixes #7169
auto merge of #8499 : nickdesaulniers/rust/issue7169, r=graydon

review? @brson 
tests are green