]> git.lizzy.rs Git - rust.git/commitdiff
Whitelist for dummy_jemalloc
authorTatsuyuki Ishi <ishitatsuyuki@gmail.com>
Thu, 24 Aug 2017 00:27:12 +0000 (09:27 +0900)
committerTatsuyuki Ishi <ishitatsuyuki@gmail.com>
Sun, 27 Aug 2017 10:02:24 +0000 (19:02 +0900)
src/liballoc_jemalloc/lib.rs

index 513b299fcf37a28bde60ef3c7e11f55798faaf0e..efefabc974c7fb0c068a422e487de10318daf86d 100644 (file)
@@ -19,7 +19,7 @@
 #![feature(libc)]
 #![feature(linkage)]
 #![feature(staged_api)]
-#![cfg_attr(dummy_jemalloc, allow(dead_code))]
+#![cfg_attr(dummy_jemalloc, allow(dead_code, unused_extern_crates))]
 #![cfg_attr(not(dummy_jemalloc), feature(allocator_api))]
 
 extern crate alloc;