-
fix(core): add missing FileType import for Windows watcher build (#34369)
发布于
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:55The
FileTypetype is used inside a#[cfg(target_os = "windows")]
block but was not imported.Expected Behavior
The Windows build compiles successfully. The
FileTypeimport 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.
下载附件