Skip to content

Commit bbae399

Browse files
committed
Update bindgen and bump version
Let's kill regex 0.2 !
1 parent d3ccd7f commit bbae399

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "mozjs_sys"
33
description = "System crate for the Mozilla SpiderMonkey JavaScript engine."
44
repository = "https://github.com/servo/mozjs/"
5-
version = "0.51.3"
5+
version = "0.51.4"
66
authors = ["Mozilla"]
77
links = "mozjs"
88
build = "build.rs"
@@ -27,5 +27,5 @@ libc = "0.2"
2727
libz-sys = "1.0"
2828

2929
[build-dependencies]
30-
bindgen = "0.36.1"
30+
bindgen = "0.37"
3131
cc = "1.0"

src/jsimpls.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,9 @@ impl JSAutoCompartment {
183183
impl JS::AutoGCRooter {
184184
pub fn new_unrooted(tag: JS::AutoGCRooterTag) -> JS::AutoGCRooter {
185185
JS::AutoGCRooter {
186-
down: ptr::null(),
186+
down: ptr::null_mut(),
187187
tag_: tag as isize,
188-
stackTop: ptr::null(),
188+
stackTop: ptr::null_mut(),
189189
}
190190
}
191191

0 commit comments

Comments
 (0)