Set external linkage on Rust functions defined with foreign ABIs.
Make all functions, not just foreign ABI ones, link with external linkage if they are publically visible.
Link statics with external linkage if they are publically visible
Rename tests for external linkage and add a compile-fail test to ensure things that shouldn't have external linkage don't get it