Skip to main content

launch_external

Function launch_external 

Source
pub fn launch_external<P: Platform, R: Piece>(
    backend: P,
    options: WindowOptions,
    root: impl FnOnce() -> R + 'static,
)
Expand description

Launch through an external toolkit’s backend (docs/extending.md “External toolkits”): the cfg-free counterpart of the feature-gated launch entries below, for platform-toolkit pairs registered via [package.metadata.day.toolkit]. Feature-independent because day build -t <external> compiles the app with only the external toolkit’s feature, so none of the launchers below exist in that build. Starts the dayscript engine exactly as they do, which is what keeps day launch --script, day drive, and the session registry working on a backend this repository has never heard of.