Skip to content

Commit ffff7ff

Browse files
author
hyd-dev
committed
Use compile_error! instead of use num_cpus
1 parent 773eb1e commit ffff7ff

File tree

1 file changed

+1
-1
lines changed
  • test-cargo-miri/subcrate/src

1 file changed

+1
-1
lines changed

test-cargo-miri/subcrate/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#[cfg(doctest)]
2-
use num_cpus as _;
2+
compile_error!("rustdoc should not touch me");
33

44
#[cfg(test)]
55
compile_error!("Miri should not touch me");

0 commit comments

Comments
 (0)