Both crates is build, mozjs test passed succesfull, but rust-mozjs failed.
There are lot of 'undefined reference to' when i try to run tests.
Example:
/home/blacksmith/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.51.1/mozjs/js/src/jit/IonBuilder.cpp:14442: undefined reference to `js::jit::CompileCompartment::runtime()'
Also
warning: cc1plus: warning: unrecognized command line option «-Wno-return-type-c-linkage»
warning: cc1plus: warning: unrecognized command line option «-Wno-c++0x-extensions»
Seems that mozjs compiled using clang, but rust-mozjs compiled using gcc.
Both crates is build, mozjs test passed succesfull, but rust-mozjs failed. There are lot of 'undefined reference to' when i try to run tests. Example: /home/blacksmith/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.51.1/mozjs/js/src/jit/IonBuilder.cpp:14442: undefined reference to `js::jit::CompileCompartment::runtime()'
Also warning: cc1plus: warning: unrecognized command line option «-Wno-return-type-c-linkage» warning: cc1plus: warning: unrecognized command line option «-Wno-c++0x-extensions»
Seems that mozjs compiled using clang, but rust-mozjs compiled using gcc.
x86_64-pc-linux-gnu-5.4.0 clang-5.0.1