Skip to content

Commit 548d92a

Browse files
committed
disable std::panic::catch_unwind-using test on no_std
1 parent 17b68fe commit 548d92a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1700,6 +1700,7 @@ mod tests {
17001700
assert_eq!(&v.iter().map(|v| *v).collect::<Vec<_>>(), &[0, 5, 6, 1, 2, 3]);
17011701
}
17021702

1703+
#[cfg(feature = "std")]
17031704
#[test]
17041705
// https://github.com/servo/rust-smallvec/issues/96
17051706
fn test_insert_many_panic() {

0 commit comments

Comments
 (0)