Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support/download/cargo-post-process: cargo output for vendor config
Use the output of `cargo vendor` to generate the vendor configuration. Fixes the need to patch the generated configuration if there are non-crates.io dependencies. Note: `cargo vendor` currently prints a newline before it prints the needed configuration. This is fixed in +nightly, will end up in +stable soon and must be considered when updating cargo. See: rust-lang/cargo#11273 Until then it is needed to remove this first line to make sure that the contents of .cargo/config will be the same as they were generated with the earlier version of the script. Thus, the hashes of the packages that use this script remain the same. Signed-off-by: Simon Richter <simon.richter@ptwdosimetry.com> [yann.morin.1998@free.fr: add comment in rust-bin.mk and rust.mk] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
- Loading branch information