core => std
Cleanup return logic for Rust fns with foreign ABIs