rust_widgets 2.9.2

Pure Rust cross-platform native GUI library with hardware-adaptive rendering, 180 widgets, touch/gesture support, i18n, and SVG-pipeline-accurate output
// SPDX-FileCopyrightText: Copyright (c) 2026 Mike Li/Mikewolfli/Wei Li(mikewolfli@163.com)
// SPDX-License-Identifier: MIT

//! Generated by `tools/check_view_platform_gate.sh` and restored on exit. The import is
//! `cfg`-gated so a normal `--all-targets` build stays green on every profile; the gate
//! itself writes an unconditional form while it runs, because there a build failure IS
//! the assertion that the module is absent.

#![allow(unused_imports)]
#![allow(dead_code)]

#[cfg(declarative_view)]
use rust_widgets::view::VIEW_GATE_PROBE;

#[test]
fn view_gate_probe_resolves() {
    #[cfg(declarative_view)]
    assert!(!VIEW_GATE_PROBE.is_empty());
}