[vlc-devel] [PATCHv4 05/12] contrib: add cargo

Martin Storsjö martin at martin.st
Fri Sep 11 08:40:18 CEST 2020


On Tue, 8 Sep 2020, Thomas Guillem wrote:

> From: Kartik Ohri <kartikohri13 at gmail.com>
>
> This will install rustup, cargo, and cargo-c into contrib/bin/.cargo
> This installation will be used by default for all rust contrib builds.
>
> The correct cargo target will be automatically installed when needed.
> ---
> contrib/src/cargo/SHA512SUMS |  1 +
> contrib/src/cargo/rules.mak  | 28 ++++++++++++++++++++++++++++
> 2 files changed, 29 insertions(+)
> create mode 100644 contrib/src/cargo/SHA512SUMS
> create mode 100644 contrib/src/cargo/rules.mak

For more exotic targets, this fails like this:

error: toolchain 'stable-x86_64-unknown-linux-gnu' does not contain 
component 'rust-std' for target 'aarch64-pc-windows-gnu'
../src/cargo/rules.mak:31: recipe for target '.cargo' failed
make: *** [.cargo] Error 1


Can these contrib components (rust/cargo and rav1e) skipped for 
armv7/aarch64-windows?

// Martin



More information about the vlc-devel mailing list