File tree 4 files changed +8
-9
lines changed
4 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 3
3
- nightly
4
4
- beta
5
5
- stable
6
+ - 1.25.0
6
7
sudo : 9000
7
8
dist : trusty
8
9
os :
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,12 +171,12 @@ 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
- . rust_target ( bindgen:: RustTarget :: Stable_1_19 )
179
+ . rust_target ( bindgen:: RustTarget :: Stable_1_25 )
180
180
. header ( "./src/jsglue.hpp" )
181
181
// Translate every enum with the "rustified enum" strategy. We should
182
182
// investigate switching to the "constified module" strategy, which has
Original file line number Diff line number Diff line change @@ -79,8 +79,6 @@ const JSVAL_PAYLOAD_MASK: u64 = 0x00007FFFFFFFFFFF;
79
79
#[ inline( always) ]
80
80
fn AsJSVal ( val : u64 ) -> JSVal {
81
81
JSVal {
82
- #[ cfg( all( target_os = "android" , target_arch = "x86" ) ) ]
83
- __bindgen_align : [ ] ,
84
82
data : Value_layout {
85
83
asBits : val,
86
84
}
You can’t perform that action at this time.
0 commit comments