Repository navigation
Rust: Pass --ignore-rust-version to Cargo - #22814
Conversation
626fa3d to
d38a237
Compare
There was a problem hiding this comment.
🟡 Changes recommended
The explanatory comment incorrectly limits the remaining failure modes to rust-analyzer compatibility.
1 open finding
What changed in this PR
Adds Cargo’s --ignore-rust-version flag when configuring rust-analyzer.
Changes:
- Appends the flag while avoiding duplicates.
- Documents why version checks are bypassed.
| File | Description |
|---|---|
rust/extractor/src/config.rs |
Adds the Cargo argument during configuration. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| // version is ignored. With this failures will only occur if the project actually uses Rust | ||
| // features that rust-analyzer can't understand (which is the best we can hope for). |
andersfugmann
left a comment
There was a problem hiding this comment.
LGTM. How do we monitor the effect of this - i.e. how would we know if this cases problems for customers? Dovwe have a dashboard that can inform us?
d38a237 to
4cf3aa6
Compare
|
|
Nothing to see in the DCA report, which is what we expected. Ready for re-approval after I force pushed a small tweak to the comment. |

Pass
--ignore-rust-versionto Cargo. The comment should explain why this makes sense.Closes #22793.