Use compile_error! instead of use num_cpus

This commit is contained in:
hyd-dev
2021-05-27 19:22:42 +08:00
parent 773eb1e970
commit ffff7ff8a6
+1 -1
View File
@@ -1,5 +1,5 @@
#[cfg(doctest)]
use num_cpus as _;
compile_error!("rustdoc should not touch me");
#[cfg(test)]
compile_error!("Miri should not touch me");