This repository was archived by the owner on Nov 12, 2022. It is now read-only.
File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 2
2
name = " mozjs"
3
3
description = " Rust bindings to the Mozilla SpiderMonkey JavaScript engine."
4
4
repository = " https://github.com/servo/rust-mozjs"
5
- version = " 0.6.0 "
5
+ version = " 0.6.1 "
6
6
authors = [" The Servo Project Developers" ]
7
7
build = " build.rs"
8
8
license = " MPL-2.0"
Original file line number Diff line number Diff line change @@ -316,6 +316,11 @@ impl RootKind for Value {
316
316
fn rootKind ( ) -> jsapi:: RootKind { jsapi:: RootKind :: Value }
317
317
}
318
318
319
+ impl RootKind for PropertyDescriptor {
320
+ #[ inline( always) ]
321
+ fn rootKind ( ) -> jsapi:: RootKind { jsapi:: RootKind :: Traceable }
322
+ }
323
+
319
324
// Creates a C string literal `$str`.
320
325
macro_rules! c_str {
321
326
( $str: expr) => {
@@ -972,6 +977,11 @@ impl GCMethods for Value {
972
977
}
973
978
}
974
979
980
+ impl GCMethods for PropertyDescriptor {
981
+ unsafe fn initial ( ) -> PropertyDescriptor { PropertyDescriptor :: default ( ) }
982
+ unsafe fn post_barrier ( _ : * mut PropertyDescriptor , _ : PropertyDescriptor , _ : PropertyDescriptor ) { }
983
+ }
984
+
975
985
impl < T : GCMethods + Copy > Heap < T > {
976
986
/// This creates a `Box`-wrapped Heap value. Setting a value inside Heap
977
987
/// object triggers a barrier, referring to the Heap object location,
You can’t perform that action at this time.
0 commit comments