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

cmake: Use cargo --target-dir #10346

Closed
wants to merge 1 commit into from
Closed

Commits on Mar 6, 2024

  1. cmake: Use cargo --target-dir

    This isolates cargo's output in the cmake build directory, so it no
    longer creates a target/ in the repository.
    
    Unfortunately cargo still decides to create
    "x86_64-unknown-linux-gnu/debug/" (target-triple/profile), there's no
    way to get it to build *in this directory*.
    
    Note that this *will* create about ~600M in the build directory
    instead of sharing among them.
    faho committed Mar 6, 2024
    Copy the full SHA
    7fabd41 View commit details
    Browse the repository at this point in the history