pub fn invalid_output_for_target(sess: &Session, crate_type: CrateType) -> bool
Checks if target supports crate_type as output