Skip to content

unified: Don't try to build an extractor binary on windows - #22335

Open
asgerf wants to merge 2 commits into
mainfrom
unified/no-windows
Open

unified: Don't try to build an extractor binary on windows#22335
asgerf wants to merge 2 commits into
mainfrom
unified/no-windows

Conversation

@asgerf

@asgerf asgerf commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Needed to unblock DCA support while we don't have build support on Windows yet.

@asgerf asgerf added the no-change-note-required This PR does not need a change note label Aug 13, 2026
This mirrors the approach taken by the original Swift extractor
@asgerf
asgerf force-pushed the unified/no-windows branch from 936e275 to 81f626a Compare August 14, 2026 11:31
@asgerf
asgerf marked this pull request as ready for review August 14, 2026 11:32
@asgerf
asgerf requested a review from a team as a code owner August 14, 2026 11:32
Copilot AI balanced review requested due to automatic review settings August 14, 2026 11:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a Windows-compatible fallback executable so packaging avoids building the unsupported unified extractor.

Changes:

  • Adds a fallback Rust executable that reports unsupported extraction.
  • Selects the real extractor on POSIX and the fallback on Windows.
Show a summary per file
File Description
unified/BUILD.bazel Selects the extractor by OS.
unified/extractor-unsupported-os/BUILD.bazel Defines the fallback binary.
unified/extractor-unsupported-os/Cargo.toml Adds fallback crate metadata.
unified/extractor-unsupported-os/src/main.rs Implements the failure diagnostic.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 4/4 changed files
  • Comments generated: 1
  • Review effort level: Balanced

Comment thread unified/extractor-unsupported-os/src/main.rs Outdated
jketema
jketema previously approved these changes Aug 14, 2026

@jketema jketema left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks sensible.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants