Make tests/units/* compile without warnings in non-test mode

(if not usefully)
This commit is contained in:
Simon Sapin 2017-11-30 16:49:57 +01:00
parent 9d898cd460
commit 2a5c4133f9
7 changed files with 29 additions and 24 deletions

View file

@ -2,7 +2,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
extern crate msg;
#[macro_use] extern crate size_of_test;
#[cfg(all(test, target_pointer_width = "64"))] extern crate msg;
#[cfg(all(test, target_pointer_width = "64"))] #[macro_use] extern crate size_of_test;
#[cfg(all(test, target_pointer_width = "64"))] mod size_of;