Fail spawning proc-macro servers when their api version is newer than r-a's

This commit is contained in:
Lukas Wirth 2023-02-03 10:38:38 +01:00
parent c40b0895f0
commit 8e998c4aa7
3 changed files with 10 additions and 3 deletions

View file

@ -13,7 +13,7 @@ use crate::ProcMacroKind;
pub use crate::msg::flat::FlatTree;
pub const NO_VERSION_CHECK_VERSION: u32 = 0;
pub const API_VERSION: u32 = 1;
pub const CURRENT_API_VERSION: u32 = 1;
#[derive(Debug, Serialize, Deserialize)]
pub enum Request {