Re:Rust 1.0: Scheduling the trains
by steveklabnik on Friday December 12, 2014 @01:00PM
(#8741642)
> I wish the process was explained a little bit better in The Guide,
To make sure I'm understanding, you mean the process of only compiling the crate root?
Multi-crate stuff has historically been a pretty weak area of the docs, but we do have a whole guide on it now: http://doc.rust-lang.org/guide-crates.html
Please feel free to open up issues on the repository any time you feel the documentation is lacking, I'd love to fix any problems.
Also, on the subject of the build system, while I too found it a bit confusing, only passing in the "main" file and having the compiler automatically compile and link all dependencies, over time I've come to love that feature. Especially coming from a (admittedly amateurish) C background, where I had to explicitly compile all of my source files into object code before linking them together, having the compiler manage everything for me cuts down on a lot of mental overhead (in my opinion, anyway). I wish the process was explained a little bit better in The Guide, but that's a documentation problem and not an implementation problem, which is much more easy to fix.