fn get_and_check_lib_features( base_src_path: &Path, bad: &mut bool, lang_features: &Features ) -> Features