diff options
-rw-r--r-- | components/plugins/jstraceable.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/plugins/jstraceable.rs b/components/plugins/jstraceable.rs index f1e0ed496b6..233f90b3bb7 100644 --- a/components/plugins/jstraceable.rs +++ b/components/plugins/jstraceable.rs @@ -12,6 +12,7 @@ pub fn expand_dom_struct(cx: &mut ExtCtxt, sp: Span, _: &MetaItem, anno: Annotat let mut item2 = (*item).clone(); item2.attrs.push(quote_attr!(cx, #[must_root])); item2.attrs.push(quote_attr!(cx, #[privatize])); + item2.attrs.push(quote_attr!(cx, #[repr(C)])); item2.attrs.push(quote_attr!(cx, #[derive(JSTraceable)])); item2.attrs.push(quote_attr!(cx, #[derive(HeapSizeOf)])); |