]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #95202 - Urgau:check-cfg-perf-well-known-values, r=petrochenkov
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Sun, 3 Apr 2022 21:21:41 +0000 (23:21 +0200)
committerGitHub <noreply@github.com>
Sun, 3 Apr 2022 21:21:41 +0000 (23:21 +0200)
Reduce the cost of loading all built-ins targets

This PR started by measuring the exact slowdown of checking of well known conditional values.
Than this PR implemented some technics to reduce the cost of loading all built-ins targets.

cf. https://github.com/rust-lang/rust/issues/82450#issuecomment-1073992323


Trivial merge