这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@ldm0
Copy link
Member

@ldm0 ldm0 commented Aug 16, 2025

No description provided.

@ldm0 ldm0 requested a review from Copilot August 16, 2025 11:30
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the dynamic linking code in the build script by creating a new FFmpegLinkMode enum to replace the inline string matching, improving type safety and code organization.

  • Introduced a proper enum FFmpegLinkMode with From<String> and Display implementations
  • Simplified the linking functions to use the enum's Display trait directly in cargo link commands
  • Extracted common single library linking logic into a new linking_with_single_lib function

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

@ldm0 ldm0 merged commit 333ed43 into CCExtractor:master Aug 16, 2025
35 of 37 checks passed
@ldm0 ldm0 deleted the dylink branch August 16, 2025 15:05
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