pub fn set_emit_obj(args: &mut Vec<String>, object_path: &Path)Expand description
Force --emit to exactly one directive: obj=<path>. Strips
every existing --emit (separated, =, comma-separated mix)
and appends one fresh pair. Same fold-and-add semantics as
set_crate_type.
rustc accepts --emit obj=<path> as a single output kind with
an explicit destination, which avoids ambiguity when other
--emit directives would otherwise have asked for link or
dep-info etc. (cargo always passes a comma-separated set:
dep-info,metadata,link. We collapse the lot to just obj.)