remap_path_prefix: Vec<(PathBuf, PathBuf)> [UNTRACKED],
edition: Edition [TRACKED],
-
- // The crates to consider private when
- // checking leaked private dependency types in public interfaces
- //extern_private: ExternPrivates [UNTRACKED],
}
);
cli_forced_thinlto_off: false,
remap_path_prefix: Vec::new(),
edition: DEFAULT_EDITION,
- //extern_private: ExternPrivates(BTreeMap::new())
}
}
}
)
}
- /*let mut extern_private: BTreeMap<_, BTreeSet<_>> = BTreeMap::new();
-
- for arg in matches.opt_strs("extern-private").into_iter() {
- let mut parts = arg.splitn(2, '=');
- let name = parts.next().unwrap_or_else(||
- early_error(error_format, "--extern-private value must not be empty"));
- let location = parts.next().map(|s| s.to_string()).unwrap_or_else(||
- early_error(error_format, "--extern-private value must include a location"));
-
-
- extern_private
- .entry(name.to_owned())
- .or_default()
- .insert(location);
-
- }*/
-
// We start out with a Vec<(Option<String>, bool)>>,
// and later convert it into a BTreeSet<(Option<String>, bool)>
// This allows to modify entries in-place to set their correct
};
- // Externsl crates start out public,
+ // Extern crates start out public,
// and become private if we later see
// an '--extern-private' key. They never
// go back to being public once we've seen
cli_forced_thinlto_off: disable_thinlto,
remap_path_prefix,
edition,
- //extern_private: ExternPrivates(extern_private)
},
cfg,
)