fn plan_build(&self, platform_details: Option<PlatformDetails>) -> Result<PlannedBuild> {
    // Create one combined metadata object which includes all dependencies and binaries
    let crate_catalog = CrateCatalog::new(&self.metadata.metadata)?;

    // Generate additional PlatformDetails
    let workspace_subplanner = WorkspaceSubplanner {
      crate_catalog: &crate_catalog,
      settings: &self.settings,
      platform_details: &platform_details,
      metadata: &self.metadata,
    };

    workspace_subplanner.produce_planned_build()
  }
/// Retrieves metadata for local workspace and produces a build plan.
Retrieves metadata for local workspace and produces a build plan.
Retrieves metadata for local workspace and produces a build plan .
fn plan_build(&self, platform_details: Option<PlatformDetails>) -> Result<PlannedBuild> {
    // Create one combined metadata object which includes all dependencies and binaries
    let crate_catalog = CrateCatalog::new(&self.metadata.metadata)?;
    // Generate additional PlatformDetails
    let workspace_subplanner = WorkspaceSubplanner {
      crate_catalog: &crate_catalog,
      settings: &self.settings,
      platform_details: &platform_details,
      metadata: &self.metadata,
    };
    workspace_subplanner.produce_planned_build()
  }
fn plan_build ( & self , platform_details : Option < PlatformDetails > ) -> Result < PlannedBuild > { // Create one combined metadata object which includes all dependencies and binaries let crate_catalog = CrateCatalog :: new ( & self . metadata . metadata ) ? ; // Generate additional PlatformDetails let workspace_subplanner = WorkspaceSubplanner { crate_catalog : & crate_catalog , settings : & self . settings , platform_details : & platform_details , metadata : & self . metadata , } ; workspace_subplanner . produce_planned_build ( ) }
Retrieves metadata for local workspace and produces a build plan.
Retrieves metadata for local workspace and produces a build plan .
&self
platform_details
Option<PlatformDetails>
&self
platform_details
Option<PlatformDetails>