From cccac2cedd2786fdf6204f140dba8bd65873e13d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Mon, 10 Feb 2020 15:30:01 +0100 Subject: [PATCH] malloc_size_of: Add a missing cfg guard. --- components/malloc_size_of/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/components/malloc_size_of/lib.rs b/components/malloc_size_of/lib.rs index 62673268ad9..68935869aa3 100644 --- a/components/malloc_size_of/lib.rs +++ b/components/malloc_size_of/lib.rs @@ -46,6 +46,7 @@ //! Note: WebRender has a reduced fork of this crate, so that we can avoid //! publishing this crate on crates.io. +#[cfg(feature = "servo")] extern crate accountable_refcell; extern crate app_units; #[cfg(feature = "servo")]