-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
A-flycheckissues with flycheck a.k.a. "check on save"issues with flycheck a.k.a. "check on save"C-bugCategory: bugCategory: bugE-unknownIt's unclear if the issue is E-hard or E-easy without digging inIt's unclear if the issue is E-hard or E-easy without digging in
Description
Since some time recently, there is a huge delay of 10-60s between hitting Ctrl-S and RA starting to do the next check-build. Needless to say that slows down the usual development process quite a bit.
This seems to happen in Miri, but not in smaller repos, and not when I disable proc macro support. It also only happens when cache priming is disabled.
rust-analyzer version: rust-analyzer version: 0.3.1317-standalone
rustc version: rustc 1.68.0-nightly (e1c9121 2022-12-11)
relevant settings:
"rust-analyzer.cachePriming.enable": false,
"rust-analyzer.cargo.buildScripts.useRustcWrapper": false,
"rust-analyzer.rustc.source": "discover",
"rust-analyzer.linkedProjects": [
"./Cargo.toml",
"./cargo-miri/Cargo.toml"
],
"rust-analyzer.checkOnSave.overrideCommand": [
"./miri",
"cargo",
"clippy",
"--all-targets",
"--message-format=json"
],
// Contrary to what the name suggests, this also affects proc macros.
"rust-analyzer.cargo.buildScripts.overrideCommand": [
"./miri",
"cargo",
"check",
"--message-format=json",
],
Metadata
Metadata
Assignees
Labels
A-flycheckissues with flycheck a.k.a. "check on save"issues with flycheck a.k.a. "check on save"C-bugCategory: bugCategory: bugE-unknownIt's unclear if the issue is E-hard or E-easy without digging inIt's unclear if the issue is E-hard or E-easy without digging in