发布

  • fix(core): add missing FileType import for Windows watcher build (#34369)

    frostbyte_neo 发布于 2026-02-06 23:47:18 +00:00

    Current Behavior

    The Windows build (aarch64-pc-windows-msvc) fails to compile with:

    error[E0433]: failed to resolve: use of undeclared type `FileType`
      --> packages\nx\src\native\watch\types.rs:128:55
    

    The FileType type is used inside a #[cfg(target_os = "windows")]
    block but was not imported.

    Expected Behavior

    The Windows build compiles successfully. The FileType import is scoped
    inside the #[cfg(target_os = "windows")] block (matching the existing
    pattern in the macOS block) so there are no unused imports on any
    platform.

    Related Issue(s)

    N/A — build breakage discovered during CI publish workflow.

    下载附件