fix(ffi): name the binary config conversion so moq-ffi compiles - #4157
Conversation
Two IntoRendition impls now satisfy the binary track constructors, so a bare into() no longer infers its target. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
MERGE Positive improvement: yes. After #4089, two Worth the complexity: yes — two call sites, zero new API surface. The alternative (narrowing the blanket Different approach: not needed. This is an automated review, not the maintainer's decision |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Included review availability: Your plan provides up to 4 included reviews per hour; 1 remains after this review. WalkthroughThe Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to The binary publishing calls now specify the intended configuration type. No merge-blocking issue was identified; normal build checks remain appropriate. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches✨ Simplify code
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Brings in #4157 so moq-ffi compiles on the line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Problem
maindoes not compilemoq-ffi: #4137 callsbinary_snapshot(track, config.into()), and after #4089 twoIntoRenditionimpls (moq_mux::binary::Configand the blanketRenditionConfig + AsMutone) can satisfy that bound, sointo()has no single target (E0283). Every branch touching a cratemoq-ffidepends on failsjust check.Approach
Name the target:
moq_mux::binary::Config::from(config)in both binary constructors.Impact
Alternatives
IntoRenditionimpl: larger, and the ambiguity is a caller-side inference issue.Follow-ups
(Written by Claude Opus 5.5)
🤖 Generated with Claude Code