INNER CODE UNIT · Rust
run_internal
warpdotdev/warp · app/src/lib.rs:971
fn run_internal(mut launch_mode: LaunchMode) -> Result<()> {
let mut timer = IntervalTimer::new();
// ── Early initialization (pre-AppBuilder) ──────────────────────
// These steps run before the platform event loop is started.
// They must not depend on AppContext.
#[cfg(windows)]
dynamic_libraries::configure_library_loading();
if launch_mode.needs_profiling() {
profiling::init();
}
// The `run` function already initializes feature flags, but ensure they're initialized here
// for other entrypoints.
features::init_feature_flags();