mirror of
https://github.com/servo/servo.git
synced 2025-10-02 17:49:16 +01:00
Use JS_GetScriptPrivate to get a mutated return value
Because MSVC uses a different calling conventions for functions that return non-POD values, we need to use the new exposed wrapper function so that `GetScriptPrivate` can be handled correctly on Windows.
This commit is contained in:
parent
08723b0e37
commit
419cd53561
2 changed files with 7 additions and 4 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -3572,7 +3572,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "mozjs"
|
||||
version = "0.13.0"
|
||||
source = "git+https://github.com/servo/rust-mozjs#0caf5549cddbb34ad16abf35fb6bfbff824a4d14"
|
||||
source = "git+https://github.com/servo/rust-mozjs#716dede8811ed525d9aab1e44cea392609b35d0a"
|
||||
dependencies = [
|
||||
"cc",
|
||||
"lazy_static",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue