fn needs_object(crate_types: &[CrateType]) -> bool
Whether or not any of these crate types need object code.