Skip to content

Commit 52e7c01

Browse files
author
bors-servo
authored
Auto merge of #120 - llogiq:fix-no-std, r=mbrubeck
disable std::panic::catch_unwind-using test on no_std This fixes #119 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-smallvec/120) <!-- Reviewable:end -->
2 parents 191bc11 + 548d92a commit 52e7c01

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
@@ -1741,6 +1741,7 @@ mod tests {
17411741
assert_eq!(&v.iter().map(|v| *v).collect::<Vec<_>>(), &[0, 5, 6, 1, 2, 3]);
17421742
}
17431743

1744+
#[cfg(feature = "std")]
17441745
#[test]
17451746
// https://github.com/servo/rust-smallvec/issues/96
17461747
fn test_insert_many_panic() {

0 commit comments

Comments
 (0)