Skip to main content

build_gate_with

Function build_gate_with 

Source
pub fn build_gate_with(
    policy: DevToolsPolicy,
    main_label: &str,
    registrations: &[ContentWebview],
    devtools_compiled: bool,
    _dev_inspect: bool,
) -> Result<DevToolsGate, DevToolsError>
Expand description

build_gate with the historical dev_inspect argument, now ignored: developer inspection is available in no build, so the argument changes nothing — registrations are validated the same, content-devtools is still required for ContentOnly, and the gate never allows an app webview. Kept so the shell’s existing call site keeps compiling.