pub fn object_filename(crate_name: &str) -> StringExpand description
Object filename rustc emits for --emit=obj --crate-type=rlib:
<crate>.o with hyphens converted to underscores. (Notably no
lib prefix and no extension other than .o — cdylib’s
lib<crate>.dylib rules don’t apply here.)