]> git.lizzy.rs Git - rust.git/commit - src/librustc_llvm/build.rs
Rollup merge of #74376 - lcnr:type-dependent-path-cleanup, r=eddyb
authorManish Goregaokar <manishsmail@gmail.com>
Mon, 20 Jul 2020 19:30:20 +0000 (12:30 -0700)
committerGitHub <noreply@github.com>
Mon, 20 Jul 2020 19:30:20 +0000 (12:30 -0700)
commit6a4276d30c87233bc6dad983ae91c7a9181fc91a
treea01de942cdffd0eabfdc67e86ade802d59ee3dce
parent991da05c32c98ec58f2f312b6dca96d998dbaf34
parente8d16fdf9f95e4110df53650779be842b6749f60
Rollup merge of #74376 - lcnr:type-dependent-path-cleanup, r=eddyb

test caching opt_const_param_of on disc

Followup to #74113, implements parts of #74360

Tried caching `opt_const_param_of` on disk and adding an early exit if `tcx.dep_kind(def_id) != DefKind::AnonConst`.

Ended up causing a perf regression instead, so we just remove the FIXME and a short note to `opt_const_param_of`.

r? @eddyb
src/librustc_middle/query/mod.rs