mirror of https://github.com/jackwener/wx-cli.git
1.4 KiB
1.4 KiB
| estimated_steps | estimated_files | skills_used |
|---|---|---|
| 15 | 4 |
T03: Cross-platform compilation verification on all three targets
Why: R006 requires code compiles on macOS, Linux, and Windows. This is the final proof that the transport abstraction works across all platforms.
Steps:
- Run
cargo check(current platform — macOS) - Run
cargo check --target x86_64-unknown-linux-gnu - Run
cargo check --target x86_64-pc-windows-msvc - If any target fails, fix conditional compilation issues:
- Check
#[cfg(unix)]/#[cfg(windows)]annotations are correct - Ensure transport module handles
#[cfg(not(any(unix, windows)))]gracefully - Verify
interprocesscrate is still only in[target.'cfg(windows)'.dependencies] - Verify
libcis still only in[target.'cfg(unix)'.dependencies]
- Check
- Run
cargo clippyon current platform for lint warnings
Constraints:
- All three targets must pass with zero errors
- Warnings should be minimized but non-blocking
- Do NOT modify Cargo.toml dependency structure unless required for compilation
Inputs
src/transport/mod.rssrc/daemon/server.rssrc/daemon/mod.rssrc/cli/daemon_cmd.rssrc/cli/mod.rsCargo.toml
Expected Output
src/transport/mod.rssrc/daemon/server.rssrc/daemon/mod.rsCargo.toml
Verification
cargo check && cargo check --target x86_64-unknown-linux-gnu && cargo check --target x86_64-pc-windows-msvc