Skip to content

Commit

Permalink
add feature to vstd to compile without verus
Browse files Browse the repository at this point in the history
  • Loading branch information
utaal committed Nov 12, 2023
1 parent 5d1e1ca commit 8fbbc3c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions source/pervasive/vstd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#![allow(unused_attributes)]
#![allow(rustdoc::invalid_rust_codeblocks)]

#![feature(allocator_api)]
#![cfg_attr(verus_keep_ghost, feature(core_intrinsics))]

#[cfg(feature = "alloc")]
Expand Down
1 change: 0 additions & 1 deletion source/rust_verify/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ pub fn enable_default_features_and_verus_attr(
"unboxed_closures",
"register_tool",
"tuple_trait",
"allocator_api",
"custom_inner_attributes",
] {
rustc_args.push("-Z".to_string());
Expand Down

0 comments on commit 8fbbc3c

Please sign in to comment.