Skip to content

Commit c440c0a

Browse files
author
Albin Stjerna
committed
update polonius-engine
1 parent f694222 commit c440c0a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Cargo.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -1914,7 +1914,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
19141914

19151915
[[package]]
19161916
name = "polonius-engine"
1917-
version = "0.6.2"
1917+
version = "0.7.0"
19181918
source = "registry+https://github.com/rust-lang/crates.io-index"
19191919
dependencies = [
19201920
"datafrog 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2368,7 +2368,7 @@ dependencies = [
23682368
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
23692369
"num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
23702370
"parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
2371-
"polonius-engine 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
2371+
"polonius-engine 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
23722372
"rustc-rayon 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
23732373
"rustc-rayon-core 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
23742374
"rustc_apfloat 0.0.0",
@@ -2868,7 +2868,7 @@ dependencies = [
28682868
"graphviz 0.0.0",
28692869
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
28702870
"log_settings 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
2871-
"polonius-engine 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
2871+
"polonius-engine 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
28722872
"rustc 0.0.0",
28732873
"rustc_apfloat 0.0.0",
28742874
"rustc_data_structures 0.0.0",
@@ -4190,7 +4190,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
41904190
"checksum phf_generator 0.7.22 (registry+https://github.com/rust-lang/crates.io-index)" = "05a079dd052e7b674d21cb31cbb6c05efd56a2cd2827db7692e2f1a507ebd998"
41914191
"checksum phf_shared 0.7.22 (registry+https://github.com/rust-lang/crates.io-index)" = "c2261d544c2bb6aa3b10022b0be371b9c7c64f762ef28c6f5d4f1ef6d97b5930"
41924192
"checksum pkg-config 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)" = "676e8eb2b1b4c9043511a9b7bea0915320d7e502b0a079fb03f9635a5252b18c"
4193-
"checksum polonius-engine 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2490c396085801abf88df91758bad806b0890354f0875d624e62ecf0579a8145"
4193+
"checksum polonius-engine 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8b24942fee141ea45628484a453762bb7e515099c3ec05fbeb76b7bf57b1aeed"
41944194
"checksum precomputed-hash 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
41954195
"checksum pretty_assertions 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3a029430f0d744bc3d15dd474d591bed2402b645d024583082b9f63bb936dac6"
41964196
"checksum pretty_env_logger 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "df8b3f4e0475def7d9c2e5de8e5a1306949849761e107b360d03e98eafaffd61"

src/librustc/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ lazy_static = "1.0.0"
1919
num_cpus = "1.0"
2020
scoped-tls = "1.0"
2121
log = { version = "0.4", features = ["release_max_level_info", "std"] }
22-
polonius-engine = "0.6.2"
22+
polonius-engine = "0.7.0"
2323
rustc-rayon = "0.1.2"
2424
rustc-rayon-core = "0.1.2"
2525
rustc_apfloat = { path = "../librustc_apfloat" }

src/librustc_mir/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ either = "1.5.0"
1515
dot = { path = "../libgraphviz", package = "graphviz" }
1616
log = "0.4"
1717
log_settings = "0.1.1"
18-
polonius-engine = "0.6.2"
18+
polonius-engine = "0.7.0"
1919
rustc = { path = "../librustc" }
2020
rustc_target = { path = "../librustc_target" }
2121
rustc_data_structures = { path = "../librustc_data_structures" }

src/librustc_mir/borrow_check/nll/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ pub(in crate::borrow_check) fn compute_regions<'cx, 'gcx, 'tcx>(
173173

174174
if infcx.tcx.sess.opts.debugging_opts.polonius {
175175
let algorithm = env::var("POLONIUS_ALGORITHM")
176-
.unwrap_or_else(|_| String::from("DatafrogOpt"));
176+
.unwrap_or_else(|_| String::from("Hybrid"));
177177
let algorithm = Algorithm::from_str(&algorithm).unwrap();
178178
debug!("compute_regions: using polonius algorithm {:?}", algorithm);
179179
Some(Rc::new(Output::compute(

0 commit comments

Comments
 (0)