Skip to content

fix(windows): repair cfg(unix) import placement and formatting in manager tests - #8

Merged
yifanxuaaa merged 3 commits into
Ephemeral-AI-Lab:mainfrom
whp233:main
Aug 9, 2026
Merged

yifanxuaaa merged 3 commits into
Ephemeral-AI-Lab:mainfrom
whp233:main

Conversation

@whp233

@whp233 whp233 commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

PR #7 was merged with an intermediate revision whose manager_router.rs placed #[cfg(unix)] on a path item inside a group use block - a compile error on every target (the Windows CI run for that revision failed at build time).

This follow-up carries the verified fix from the fork's green CI run (305e0ab):

  • Split manager::EXPORT_CHANGES_SPEC into its own #[cfg(unix)] use statement (a group-use path item cannot carry an attribute)
  • Gate the direct-daemon-port export test behind #[cfg(unix)] (export apply is Unix-only)
  • Place the cfg-gated import after plain use statements to satisfy rustfmt

CI on whp233/ephemeral-sandbox is green (build / test / clippy / fmt).

whp233 added 3 commits August 9, 2026 16:44
An attribute cannot be applied to a path item inside a group use block; split the unix-gated export spec import into its own use statement
rustfmt groups attribute-carrying use statements after the plain ones; local rustfmt check passes
@yifanxuaaa
yifanxuaaa merged commit e28e35d into Ephemeral-AI-Lab:main Aug 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants