Skip to content

build: build ffi only for stable - #1138

Merged
tziemek merged 5 commits into
mainfrom
build/ffi-stable-only
Sep 29, 2026
Merged

tziemek merged 5 commits into
mainfrom
build/ffi-stable-only

Conversation

@tziemek

@tziemek tziemek commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

This enables upgrading uniffi to the next minor version as it would imply a MSRV bump (#731). If we only build FFI on stable, which is fine, this is not a problem anymore.

@tziemek
tziemek requested a review from a team as a code owner September 28, 2026 12:48

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.

Copilot review overview

🟢 Approval recommended

The workflow consistently excludes FFI only from MSRV checks while retaining stable coverage.

Review effort: Balanced
Findings: None

What changed in this PR

Limits csaf-ffi compilation to stable Rust, allowing UniFFI upgrades without raising the workspace MSRV.

Changes:

  • Excludes csaf-ffi from MSRV builds, tests, and Clippy.
  • Applies workspace selection consistently to Cargo commands.
File Description
.github/​workflows/​build.yml Adds conditional FFI exclusion for non-stable matrix jobs.

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

@Gronner Gronner 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.

LGTM

@peinjoh peinjoh 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.

LGTM

@tziemek
tziemek merged commit 95c3040 into main Sep 29, 2026
18 checks passed
@tziemek
tziemek deleted the build/ffi-stable-only branch September 29, 2026 09:07
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.

4 participants