Skip to main content

pick_launch

Function pick_launch 

Source
pub fn pick_launch(
    plugin: &[Arch],
    host: &[Arch],
    current: Arch,
    rosetta: bool,
) -> Result<Launch, RenderError>
Expand description

Picks how to start the host. rosetta says whether this machine can run x86_64 code on Apple silicon.

ยงErrors

Returns RenderError::Host when the plug-in has no slice this machine runs, the host binary lacks the slice the plug-in needs, or Rosetta is missing.