diff --git a/lib.rs b/lib.rs index 8fae3c2..e132f44 100644 --- a/lib.rs +++ b/lib.rs @@ -1741,6 +1741,7 @@ mod tests { assert_eq!(&v.iter().map(|v| *v).collect::>(), &[0, 5, 6, 1, 2, 3]); } + #[cfg(feature = "std")] #[test] // https://github.com/servo/rust-smallvec/issues/96 fn test_insert_many_panic() {