File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2
2
name = " mozjs_sys"
3
3
description = " System crate for the Mozilla SpiderMonkey JavaScript engine."
4
4
repository = " https://github.com/servo/mozjs/"
5
- version = " 0.60.1 "
5
+ version = " 0.61.0 "
6
6
authors = [" Mozilla" ]
7
7
links = " mozjs"
8
8
build = " build.rs"
@@ -26,5 +26,5 @@ libc = "0.2"
26
26
libz-sys = " 1.0"
27
27
28
28
[build-dependencies ]
29
- bindgen = " 0.37 "
29
+ bindgen = " 0.39 "
30
30
cc = " 1.0"
Original file line number Diff line number Diff line change @@ -171,10 +171,10 @@ fn build_jsapi_bindings() {
171
171
// so their symbols aren't available. Adding the -fkeep-inlined-functions option
172
172
// causes the jsapi library to bloat from 500M to 6G, so that's not an option.
173
173
let mut config = bindgen:: CodegenConfig :: all ( ) ;
174
- config. constructors = false ;
175
- config. destructors = false ;
176
- config. methods = false ;
177
-
174
+ config &= !bindgen :: CodegenConfig :: CONSTRUCTORS ;
175
+ config &= !bindgen :: CodegenConfig :: DESTRUCTORS ;
176
+ config &= !bindgen :: CodegenConfig :: METHODS ;
177
+
178
178
let mut builder = bindgen:: builder ( )
179
179
. rust_target ( bindgen:: RustTarget :: Stable_1_19 )
180
180
. header ( "./src/jsglue.hpp" )
You can’t perform that action at this time.
0 commit comments