Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bypass linker configuration and cross target check for specific commands #128871

Merged
merged 2 commits into from
Sep 7, 2024

Commits on Aug 9, 2024

  1. call Cargo::configure_linker only for specific commands

    Calling `Cargo::configure_linker` unconditionally slows down certain
    commands (e.g., "check" command) without providing any benefit.
    
    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    9a29081 View commit details
    Browse the repository at this point in the history
  2. don't try to find target tools on certain commands

    For commands like check/clean there is no need to check for target tools.
    Avoiding this check can also speed up the process.
    
    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    94fbe14 View commit details
    Browse the repository at this point in the history