Skip to content

Commit

Permalink
Make stable mir reachability default
Browse files Browse the repository at this point in the history
  • Loading branch information
celinval committed Nov 25, 2023
1 parent 66866b3 commit de0c793
Show file tree
Hide file tree
Showing 4 changed files with 279 additions and 1,068 deletions.
1 change: 0 additions & 1 deletion kani-compiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ tracing-subscriber = {version = "0.3.8", features = ["env-filter", "json", "fmt"
default = ['cprover']
cprover = ['cbmc', 'num', 'serde']
write_json_symtab = []
stable_mir = []

[package.metadata.rust-analyzer]
# This package uses rustc crates.
Expand Down
6 changes: 0 additions & 6 deletions kani-compiler/src/kani_middle/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,10 @@ pub mod coercion;
mod intrinsics;
pub mod metadata;
pub mod provide;
#[cfg(not(feature = "stable_mir"))]
pub mod reachability;
#[cfg(feature = "stable_mir")]
pub mod reachability_smir;
pub mod resolve;
pub mod stubbing;

#[cfg(feature = "stable_mir")]
pub use reachability_smir as reachability;

/// Check that all crate items are supported and there's no misconfiguration.
/// This method will exhaustively print any error / warning and it will abort at the end if any
/// error was found.
Expand Down
Loading

0 comments on commit de0c793

Please sign in to comment.