Added build_directory
field to cargo metadata output by ranger-ross · Pull Request #15377 · rust-lang/cargo (original) (raw)
What does this PR try to resolve?
This PR continues on the build-dir work laid in #14125. (see this comment)
We add a new build_directory
field to the cargo metadata
output when the -Z build-dir
feature flag is enabled.
How should we test and review this PR?
I added a test for metadata output when build-dir is set. There are already many existing tests that verify that build-dir is not included if -Z build-dir
is not passed.
Additional information
NOTE: I use build_directory
instead of build-dir
to match the existing target_directory
field in the metadata output
r? @epage