This repository was archived by the owner on Nov 12, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 22name = " mozjs"
33description = " Rust bindings to the Mozilla SpiderMonkey JavaScript engine."
44repository = " https://github.com/servo/rust-mozjs"
5- version = " 0.6.0 "
5+ version = " 0.6.1 "
66authors = [" The Servo Project Developers" ]
77build = " build.rs"
88license = " MPL-2.0"
Original file line number Diff line number Diff line change @@ -316,6 +316,11 @@ impl RootKind for Value {
316316 fn rootKind ( ) -> jsapi:: RootKind { jsapi:: RootKind :: Value }
317317}
318318
319+ impl RootKind for PropertyDescriptor {
320+ #[ inline( always) ]
321+ fn rootKind ( ) -> jsapi:: RootKind { jsapi:: RootKind :: Traceable }
322+ }
323+
319324// Creates a C string literal `$str`.
320325macro_rules! c_str {
321326 ( $str: expr) => {
@@ -975,6 +980,11 @@ impl GCMethods for Value {
975980 }
976981}
977982
983+ impl GCMethods for PropertyDescriptor {
984+ unsafe fn initial ( ) -> PropertyDescriptor { PropertyDescriptor :: default ( ) }
985+ unsafe fn post_barrier ( _ : * mut PropertyDescriptor , _ : PropertyDescriptor , _ : PropertyDescriptor ) { }
986+ }
987+
978988impl < T : GCMethods + Copy > Heap < T > {
979989 /// This creates a `Box`-wrapped Heap value. Setting a value inside Heap
980990 /// object triggers a barrier, referring to the Heap object location,
You can’t perform that action at this time.
0 commit comments