Skip to content

Commit 29461c2

Browse files
committed
Enable smack to build when building a no-std crate
1 parent 1212a14 commit 29461c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

share/smack/lib/smack.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ make_nondet!(usize, __VERIFIER_nondet_unsigned_long_long);
9797

9898

9999
#[cfg(not(verifier = "smack"))]
100+
#[cfg(feature = "std")]
100101
#[allow(dead_code)]
101102
use std::Vec;
102103
/* Vector class.

0 commit comments

Comments
 (0)