chakracore-rs icon indicating copy to clipboard operation
chakracore-rs copied to clipboard

An idiomatic Rust wrapper for the JSRT interface

Results 13 chakracore-rs issues
Sort by recently updated
recently updated
newest added

How is the soundness of `Context::make_current` guaranteed? For example, what happens if user calls it for two different contexts and then drops the guard in reverse order?

Perhaps it worked in the past, but nowadays the following occurs: ``` Compiling syntex_syntax v0.58.1 error[E0423]: expected function, tuple struct or tuple variant, found struct `ast::Name` --> C:\Users\user\.cargo\registry\src\github.com-1ecc6299db9ec823\syntex_syntax-0.58.1\src\symbol.rs:146:27 | 146...

Is it possible to build library without full source code only with binary releases? https://github.com/microsoft/ChakraCore/releases

This was non-obvious to me since I have experience with V8 which takes care of synchronization for you. Before setting a context, you might need to unset the current one....

I made a simple program (uses ChakraCore 0.11, current master) which segfaults when releasing a Context: ``` Process 29099 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS...

Hi! Thanks for making this! :heart: I'm running into the following compilation problem: ~~~ /home/saghul/.cargo/registry/src/github.com-1ecc6299db9ec823/chakracore-sys-0.2.3/target/source-1.7.6/lib/Backend/IRBuilderAsmJs.cpp:1063:14: error: comparison of two values with different enumeration types in switch statement ('Js::AsmJsRetType::Which' and 'Js::AsmJsVarType::Which')...

``` C:\Users\camer\rs\chakracore-rs\chakracore-sys>echo %CHAKRA_SOURCE% C:\Users\camer\rs\ChakraCore C:\Users\camer\rs\chakracore-rs\chakracore-sys>echo %CHAKRA_BUILD% C:\Users\camer\rs\ChakraCore\Build\VcBuild\bin\x64_release C:\Users\camer\rs\chakracore-rs\chakracore-sys>cargo test -vv Fresh unicode-width v0.1.4 Fresh utf8-ranges v1.0.0 Fresh rustc-serialize v0.3.24 Fresh unicode-segmentation v1.2.0 Fresh log v0.3.8 Fresh glob v0.2.11 Fresh bitflags...

Problem: The `JsAddRef` and `JsRelease` APIs require a current context to be set in order to work. However, they are being exposed through the `Clone` and `Drop` traits that don't...