Convert rust_crate_map.cpp to Rust

Conflicts:
	src/libstd/rt/logging.rs