Skip to main content

prepare_each

Function prepare_each 

Source
pub(crate) fn prepare_each(
    input: &Path,
    each: bool,
    opts: FetchOptions,
) -> Prepared
Expand description

#3274: prepare, or, for --each over a manifest-less directory of projects, each of its projects in turn: every one is its own lock root, as when it is run alone. One that fails to prepare is named and does not stop the others, so every project still runs and the run fails at the end. An --each that is not an implicit workspace (a project, a workspace root, a file, a directory that is refused) prepares nothing of its own: the command reports what is wrong with the flag, with no fetching or lock writes first.