Skip to content

Commit d990142

Browse files
authored
Merge pull request #439 from smackers/rust-nostd
Enable SMACK to build a no-std Rust crate
2 parents 1212a14 + 29461c2 commit d990142

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)