aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/codegen/gen_features.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2021-01-18 11:52:12 +0000
committerAleksey Kladov <[email protected]>2021-01-18 11:52:12 +0000
commitadd87f54240a20e72136a403c166113af5173572 (patch)
tree14ed8b5ca07a40dea9b0599506d78b3d6f4c4a6c /xtask/src/codegen/gen_features.rs
parentcc963d2b1190578ad9f1d1f4589e8ea2c98c1a14 (diff)
Avoid blocking the main loop when editing Cargo.toml
I've noticed a bunch of "main loop too long" warnings in console when typing in Cargo.toml. Profiling showed that the culprit is `rustc --print cfg` call. I moved it to the background project loading phase, where it belongs. This highlighted a problem: we generally use single `cfg`, while it really should be per crate.
Diffstat (limited to 'xtask/src/codegen/gen_features.rs')
0 files changed, 0 insertions, 0 deletions