[vlc-devel] [RFC Patch v2 1/2] libvlc: Add Rust API for writing modules in rust

Alexandre Janniaux ajanni at videolabs.io
Wed Sep 16 22:19:28 CEST 2020


Hi,

On Thu, Sep 17, 2020 at 01:24:41AM +0530, Kartik Ohri wrote:
> > I noticed a problem during testing: src/vlccore-rs and src/vlccore-sys
> > are not rebuilt when sources are modified. Cargo should probably be
> > called everytime to check if it must rebuild things.
> >
>  Yes, this can be done. I can add a Rust Sources variable in the common.am
>  makefile. It might also be fixed using a cargo workspace. I have been
>  exploring how to run rustfmt on all rust crates and execute all rust tests.
>  The best solution seems to be a cargo workspace. I'll try it out and report
>  my findings.

A cargo workspace seems like the right tool for that indeed.
You probably want two of them so as to integrate within the
buildsystem nicely though.

Regards,
--
Alexandre Janniaux
Videolabs


More information about the vlc-devel mailing list