On Wed, Feb 22, 2017 at 5:49 PM, Ted Mielczarek <t...@mielczarek.org> wrote:
> Given that
> the C API here is under your complete control, it seems like it's
> possible to generate a cross-platform header

I believe the header is cross-platform, yes.

> Alternately you could just generate it at build time, and we could pass
> the path to $(DIST)/include in a special environment variable so you
> could put the header in the right place.

So just https://doc.rust-lang.org/std/env/fn.var.html in build.rs? Any
naming conventions for the special variable? (I'm inferring from the
way you said it that DIST itself isn't being passed to the build.rs
process. Right?)

-- 
Henri Sivonen
hsivo...@hsivonen.fi
https://hsivonen.fi/
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to