]> git.lizzy.rs Git - rust.git/commitdiff
Merge #6912
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Thu, 17 Dec 2020 18:32:13 +0000 (18:32 +0000)
committerGitHub <noreply@github.com>
Thu, 17 Dec 2020 18:32:13 +0000 (18:32 +0000)
6912: Default to host platform for cargo metadata r=jonhoo a=jonhoo

This modifies the logic for calling cargo metadata so that it will use
the host platform if no explicit target platform is given. This is
needed since cargo metadata defaults to outputting information for _all_
targets.

Fixes #6908.

Co-authored-by: Jon Gjengset <jongje@amazon.com>
Co-authored-by: Jon Gjengset <jon@thesquareplanet.com>

Trivial merge