Rollup merge of #59856 - albins:update-polonius, r=nikomatsakis
update polonius-engine This updates polonius-engine to [version 0.7.0](https://github.com/rust-lang/polonius/blob/master/RELEASES.md#v070), which adds a hybrid algorithm that starts off with performing a cheaper, location-insensitive analysis before proceeding with the full analysis. r? @nikomatsakis
This commit is contained in:
commit
b9da8a7144
4 changed files with 7 additions and 7 deletions
|
|
@ -19,7 +19,7 @@ lazy_static = "1.0.0"
|
|||
num_cpus = "1.0"
|
||||
scoped-tls = "1.0"
|
||||
log = { version = "0.4", features = ["release_max_level_info", "std"] }
|
||||
polonius-engine = "0.6.2"
|
||||
polonius-engine = "0.7.0"
|
||||
rustc-rayon = "0.1.2"
|
||||
rustc-rayon-core = "0.1.2"
|
||||
rustc_apfloat = { path = "../librustc_apfloat" }
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ either = "1.5.0"
|
|||
dot = { path = "../libgraphviz", package = "graphviz" }
|
||||
log = "0.4"
|
||||
log_settings = "0.1.1"
|
||||
polonius-engine = "0.6.2"
|
||||
polonius-engine = "0.7.0"
|
||||
rustc = { path = "../librustc" }
|
||||
rustc_target = { path = "../librustc_target" }
|
||||
rustc_data_structures = { path = "../librustc_data_structures" }
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@ pub(in crate::borrow_check) fn compute_regions<'cx, 'gcx, 'tcx>(
|
|||
|
||||
if infcx.tcx.sess.opts.debugging_opts.polonius {
|
||||
let algorithm = env::var("POLONIUS_ALGORITHM")
|
||||
.unwrap_or_else(|_| String::from("DatafrogOpt"));
|
||||
.unwrap_or_else(|_| String::from("Hybrid"));
|
||||
let algorithm = Algorithm::from_str(&algorithm).unwrap();
|
||||
debug!("compute_regions: using polonius algorithm {:?}", algorithm);
|
||||
Some(Rc::new(Output::compute(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue