Open
Description
Version: rustc 1.47.0-nightly (663d2f5cd 2020-08-22)
To reproduce, create a new binary crate, add nix = "0.18.0"
to the [dependencies]
section, and then run cargo check
on it, followed by RUSTFLAGS=-Zpolonius cargo check
.
Without polonius, this took 5.56s
for me. With polonius, this took 55.95s
, an 11x increase in check time.
To avoid a moving target here, these builds used libc v0.2.76
and nix v0.18.0
.