mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-12-27 16:07:46 +00:00
Merge pull request #21223 from Veykril/push-xpmrpxnwpono
fix: Disable postcard use temporarily
This commit is contained in:
commit
6dd5f16f07
@ -58,7 +58,9 @@ impl ProcMacroServerProcess {
|
||||
if v.pre.as_str() == "nightly" { *v > VERSION } else { *v >= VERSION }
|
||||
});
|
||||
|
||||
let formats: &[_] = if has_working_format_flag {
|
||||
let formats: &[_] = if std::env::var_os("RUST_ANALYZER_USE_POSTCARD").is_some()
|
||||
&& has_working_format_flag
|
||||
{
|
||||
&[
|
||||
(Some("postcard-legacy"), Protocol::LegacyPostcard { mode: SpanMode::Id }),
|
||||
(Some("json-legacy"), Protocol::LegacyJson { mode: SpanMode::Id }),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user