Open
Description
/tmp$ cargo new testcrate
Created binary (application) `testcrate` package
/tmp$ cd testcrate/
/tmp/testcrate$ cargo add proc-macro-hack
Updating 'https://github.com/rust-lang/crates.io-index' index
Adding proc-macro-hack v0.5.19 to dependencies.
/tmp/testcrate$ cargo +nightly check
Updating crates.io index
Compiling proc-macro-hack v0.5.19
Checking testcrate v0.1.0 (/tmp/testcrate)
Finished dev [unoptimized + debuginfo] target(s) in 1.09s
/tmp/testcrate$ RUSTFLAGS=-Zpolonius cargo +nightly check
Compiling proc-macro-hack v0.5.19
Checking testcrate v0.1.0 (/tmp/testcrate)
Finished dev [unoptimized + debuginfo] target(s) in 1m 41s
101x longer to check with polonius than without.
I've run into a few other crates with similar issues, some of which have been reported elsewhere: