File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
crates/proc-macro-api/src Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ impl ProcMacroClient {
129129 let process = ProcMacroServerProcess :: run (
130130 process_path,
131131 env,
132- process:: Protocol :: Postcard { mode : SpanMode :: Id } ,
132+ process:: Protocol :: LegacyJson { mode : SpanMode :: Id } ,
133133 ) ?;
134134 Ok ( ProcMacroClient { process : Arc :: new ( process) , path : process_path. to_owned ( ) } )
135135 }
Original file line number Diff line number Diff line change @@ -30,8 +30,13 @@ pub(crate) struct ProcMacroServerProcess {
3030
3131#[ derive( Debug , Clone ) ]
3232pub ( crate ) enum Protocol {
33- LegacyJson { mode : SpanMode } ,
34- Postcard { mode : SpanMode } ,
33+ LegacyJson {
34+ mode : SpanMode ,
35+ } ,
36+ #[ expected( dead_code) ]
37+ Postcard {
38+ mode : SpanMode ,
39+ } ,
3540}
3641
3742/// Maintains the state of the proc-macro server process.
You can’t perform that action at this time.
0 commit comments