stop trying to outsmart LLVM inline heuristics

Closes #10045
auto merge of #10059 : thestinger/rust/glue, r=pcwalton

Closes #10045