Declare all Rust functions as unnamed_addr. Closes #8957