Skip to content

Handle boolean merge features#116

Merged
Medowhill merged 1 commit into
masterfrom
fix-merge
May 31, 2026
Merged

Handle boolean merge features#116
Medowhill merged 1 commit into
masterfrom
fix-merge

Conversation

@Medowhill

Copy link
Copy Markdown
Contributor

Summary

  • Detect boolean-valued merge configuration parameters from translations.json.
  • Emit a single Cargo feature for boolean parameters, using the parameter name for the true case.
  • Lower false-side Rust cfgs to not(feature = "...") while preserving PARAM_value features for non-boolean parameters.
  • Add in-memory regression coverage for feature union generation and cfg lowering.

Testing

  • cargo fmt
  • cargo test -p merger
  • cargo clippy --workspace --all-targets
  • cargo test --workspace

@Medowhill Medowhill merged commit 99cd730 into master May 31, 2026
2 checks passed
@Medowhill Medowhill deleted the fix-merge branch May 31, 2026 09:03
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.

1 participant