On Mon, Feb 27, 2017 at 1:57 PM, Henri Sivonen <hsivo...@hsivonen.fi> wrote: > Now that the build.rs in commented out in the crates.io crate and the > generated header is shipped in the crates.io crate: > Considering that editing the vendored crates is not allowed, so I > can't put moz.build files on the path to the headers, what's the > appropriate way to make the m-c build system pick up headers from > third_party/rust/encoding_c/include? >
I haven't tried this myself, but you should be able to reference the include from any moz.build file. e.g. # in foo/bar/moz.build EXPORTS += [ ... "../../third_party/rust/encoding_c/include/MyHeader.h" ... ] Does that not work? Cheers, kats _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform