On Mon, Feb 27, 2017 at 1:40 AM, Xidorn Quan <m...@upsuper.org> wrote: >> When doing a parallel build, I see an interleave of C++ and Rust build >> system output. What guarantees that a build.rs that exports headers >> runs before the C++ compiler wants to see the headers? > > Oh, it's about C++ header generated from Rust?
Yes. cheddar, not bindgen. > I don't think it is > possible given the current architecture. ... > So if it is Rust library exposing C API, it is probably responsibility > of the Rust library to also provide a C header for other code to use. I take it that I should check in the header, then. Is there some way to disable build.rs for a vendored crate (without making cargo unhappy about the hashes)? (If the header is checked in, compiling cheddar in order to generate it at build time is useless.) -- Henri Sivonen hsivo...@hsivonen.fi https://hsivonen.fi/ _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform