Open ctaggart opened 8 years ago
rust-mozjs works specifically with https://github.com/servo/mozjs which should both be usable from any cargo-using project like so:
[dependencies.js]
git = "https://github.com/servo/rust-mozjs"
That looks much easier! I'll give that a shot.
@ctaggart you got success using rust-mozjs in windows?
I took a look at the examples/callback.rs and I would like to try using
rust-mozjs
, but I'm not sure how to. Any plans to create a crate?I was under the impression that I need to build SpiderMonkey on my PC. On this PC, I'm running Windows 8.1 and I'm not that familiar with
make
ormozmake
. Here is a recap of what I've done so far:Downloaded MozillaBuild 2.0.0 and extracted to
c:\rust\mozilla-build
. I have Visual Studio 2015 installed, so I launched the build environmentc:\rust\mozilla-build\start-shell-msvc2015-x64.bat
. In it, I did:How do I get a list of
mozmake
targets? How do I get it to build?Here is `../configure --help' output:
Here is
mozmake --help
output: