fn add_library( tcx: TyCtxt<'_>, cnum: CrateNum, link: LinkagePreference, m: &mut FxHashMap<CrateNum, LinkagePreference>, unavailable_as_static: &mut Vec<CrateNum>, )