Nikolaos Chatzikonstantinou wrote:
> > One problem I see with Rust is that currently it does not integrate well
> > with the GNU Build system, in particular with VPATH builds (see [3] for
> > an example integration). Any improvements on that front would be welcome.
> >
> > [3] 
> > https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=tree;f=gettext-tools/examples/hello-rust;hb=HEAD
> 
> What is the issue with VPATH builds?

The issue is that 'cargo' mandates a certain directory layout of the
package, that is incompatible with VPATH builds.

> I read the comments in
> configure.ac of that link, it seems to copy certain files into the
> build directory and then uses cargo. Would you rather if it used rustc
> directly?

How can a package not use 'cargo' if it needs some Rust libraries?

It's very much possible that I did not see/find some "obvious" solution,
though.

> I can try to tackle support for Rust too.

That would be welcome!

Bruno




Reply via email to