Skip to main content

apply_project_model

Function apply_project_model 

Source
fn apply_project_model(
    project: Option<&LoadedProject>,
    settings: &mut SessionLaunchSettings,
)
Expand description

Stamp the project’s canonical model into the launch settings, which is how the session’s model reaches the CLI. A project that declares no model stamps nothing, so the caller’s pin (forge defaults it to the literal “opus”) stands.