rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
99.16k stars 12.8k forks source link

incr.comp.: Edge to Krate depnode when building regex in debug mode #38222

Closed michaelwoerister closed 7 years ago

michaelwoerister commented 7 years ago

Occurs with regex 0.1.75 (ac9ced6). The Krate-edge leads to everything being re-compiled for any change. The edge does not occur when compiling with --release.

michaelwoerister commented 7 years ago

Occurs when compiling with -Cdebuginfo=1 but not with -Cdebuginfo=0.

michaelwoerister commented 7 years ago

Does not occur in nightly-2016-11-29, so it must have been introduced recently. https://github.com/rust-lang/rust/pull/37954 looks suspicious.

michaelwoerister commented 7 years ago

Fails with nightly-2016-12-01.

michaelwoerister commented 7 years ago

The regression introduced somewhere in this range: https://github.com/rust-lang/rust/compare/1c448574b...908dba0c9