On 03/07/2012 06:28 AM, Grahame Bowland wrote:
Hi all
I've been wondering what the plan is in terms of build infrastructure
for rust programmers. I'm working on a project using rust, and am
using a shell script to compile. I've considered using a makefile, but
the name of the output file for a crate isn't constant.
I don't mind working on this if nobody else has looked at it. If it's
already a solved problem but just isn't in the tutorial, I'll
summarise responses and add a chapter to the tutorial :-)
It's not solved. There's some discussion about cargo's relationship to
the build system here: https://github.com/mozilla/rust/issues/1861. I
kind of think that cargo+rustc is intended to be 'the build system', but
I'm not sure. Possibly you and thoughtpolice are in the best position to
know what we need to do in this area as you are actually building out of
tree rust projects.
rustc deals with the library naming issue in its makefiles by using globs.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev